[Java] Significance of serialVersionUID
Used for version control of Serializable classes
private static final long serialVersionUID = 1L;
- The same class must have the same version (no changes) when it is serialized and when it is deserialized.
- If you don't plan to serialize it, you can delete it.