Serialization and Deserialization in java.

Serialization is the process of converting the state of an object into byte stream. De-serialization allow you to restore the serialized state into another instance of the same type. As you know, only the state of an object can serialized. Behavior is run-time phenomenon and it can’t be converted to a stream. Classes java.io.ObjectOutputStream and […]
Continue reading…