Tag Archives: serialization

What’s the significance of serialVersionUID

The serialVersionUID is used as a version control in a Serializable class. JVM uses it to compare the versions of the class ensuring that the same class was used during Serialization is loaded during Deserialization. If you do not explicitly declare a serialVersionUID, JVM will do it for you automatically, based on various aspects of… Read More »

Serialisation in java

Serialization is one of the most commonly asked topics in technical interviews.Specially if you are from java background.In this post I’ll try to address most of the questions which you may encounter in an interview. I’ve explained serialization in detail in this article but if you are looking for something specific you can directly jump… Read More »