开发者

serialVersionUID for serizlizable class [duplicate]

This question already has answers here: Closed 10 years ago.
开发者_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

  1. What does this statement mean? I get an error for this.
  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜