serialVersionUID for serizlizable class [duplicate]
开发者_JS百科Possible Duplicate:
What does it mean: The serializable class does not declare a static final serialVersionUID field?
The serializable class VaadintestprojectApplication does not declare a static final serialVersionUID field of type long
- What does this statement mean? I get an error for this.
- What does serizlizable class do and why do we need to declare a static final for it.
You should take a look at Serializable
javadoc, which explains this far better than any StackOverflow contributor.
精彩评论