What is Serialization in Java?
Answered
What is Serialization in Java? What is its use?
Best answer
Serialization is the process of making the object’s state persistent. The state of an object is converted into stream of bytes. Serialization of an object can be achieved by implementing java.io.Serializable interface which is a marker interface.
Serialization is one of the important concepts in Java which is used when an object needs to be stored into a file or transmitted through a network or written to some persistent storage mechanism.