Serialization :- -This is the process to write the objects into the stream in such a way that further the objects can be reconstructed. Object serialization can be used in the networking where the one object will be passed across the network onto the different JVM. Through the serialization object can also be written into any file. During the serialization along with the data the meta data also will be stored in the stream such as class name,field name,field type etc. Note:- if after the serialization the .class file of the class is changed than process of deserialization will not work. Note:- During the serialization the cloning of any singleton object is possible. java.io.Serializable Interface :- By default the objects of...
Comments
Post a Comment