Serialization

What is serialVersionUID?

What is serialVersionUID?

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 a .class file at beginning only. Just state of the ...

Read More »

Difference between Serialization & Externalization?

Difference between Serialization & Externalization?

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 over Serialization is everything takes care by programmer and JVM ...

Read More »

What is Serialization and Deserialization in Java?

What is Serialization and Deserialization in Java?

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 us to convert an Object to stream that we can ...

Read More »

What is Transient Keyword in Java?

What is Transient Keyword in Java?

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 should declare that variable as transient. At the time of ...

Read More »

Responsive WordPress Theme Freetheme wordpress magazine responsive freetheme wordpress news responsive freeWORDPRESS PLUGIN PREMIUM FREEDownload theme free