Tag Archives: serialVersionUID

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 »