> > Part 11-Core Java Interview Questions and Answers: Comparator vs Comparable
What are Serialization and De-serialization in Java?
Serialization is a process by which you can save or transfer the state of an object by converting it to a byte stream.
During Serialization, the Object is converted into a binary format, which can be persisted into a disk or sent over the network to any other running Java virtual machine. During deserialization, the reverse process is performed by creating an object from a binary stream.
FYI, the serialization process is platform-independent, which means an object serialized on one platform can be deserialized on a different platform.