What is Serialization in Java?

What is Serialization in Java? What is its use?

Ninja Asked on 17th September 2018 in Java.
Add Comment
1 Answer(s)
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.

Ninja Answered on 17th September 2018.
Add Comment