Category: Serialization
What is serialVersionUID? In Serialization, both sender and receiver need not be the same person, need not use the same machine and need not be from the same location. That person may be different, machines may be different and location may be different. In Serialization, both sender and receiver have . . . Read more
Difference between Serialization & Externalization? Difference between Serialization & Externalization? In serialization, it is always possible to total object to the file and not possible to save part of the object. Which may create performs problem. To overcome this problem we should go for Externalization. Â The main advantage of Externalization . . . Read more
What is Serialization and Deserialization in Java? Serialization The process of writing state of an object to a file is called Serialization but strictly speaking, it is a process of converting an object from JAVA supported form into either file supported form or network supported form. Serialization in Java allows . . . Read more
What is Transient Keyword in Java? Transient modifier applicable only for variables but not for methods and classes. We can use a transient keyword in serialization context. At the time of serialization if we don’t want to save a value of a particular variable to meet security constraint then we . . . Read more