Java - Serialization
Serialization:
Process of Object into Byte Stream is called Serialization
It is used to travel object's state on the network
Object
should be serialized.
Java.io.serializable.
Serializable
is a marker interface. Marker Interface is nothing but empty interface.
·
Only non static data members can be serialized. Because static members are depend of Class not depend on object
Comments
Post a Comment