What is use of serialization?

What is use of serialization?

Serialization is the process of producing Stream of bytes from the object and writing it into the output source such as file. 

The serialization also keeps information to restore the fields during deserialization.To produce stream of bytes, the class should be inherited either from java.io.Serializable interface.which is marker interface.


By:Sumit Tripathi
Date:2020-05-15 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher