Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
general knowledge
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
beans
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


What do you know about Serializable Interface in Java?
Question Posted on 04 Jun 2021

Home >> Java >> Java Questions >> What do you know about Serializable Interface in Java?




What do you know about Serializable Interface in Java?
Serializable Interface in Java present in java.io.package. And it is a marker interface. And we does not have methods and fields in Marker Interface. It provides run-time type information about objects so compiler and JVM have additional information about the object. As no method is there classes that implementing it do not have to implement any methods. If we need Serialized and Deserialized of instance then we do this by implement this in classes. As we allready aware serialization is one of the mechanism of converting the state of an object into byte stream. And Serialization is done by using ObjectOutputStrem. And on other hand deserialization is just opposite process where byte stream is used to recreatse the actual java object in memory. Mehcnism is used to persist the object. And deseialization is done by using ObjectInputStream.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
What are the main difference between Array and Arraylist
What is classloader in Java and name of some classloader
Different modules of the Spring framework
Difference between Object and Class
Most important 15 aspects that Java Developer should learn in year 2020






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |