Array classes with serialVersionUID?
问题 I am having trouble understanding this comment from the Java serialization documentation: Array classes cannot declare an explicit serialVersionUID, so they always have the default computed value, but the requirement for matching serialVersionUID values is waived for array classes. Maybe I am unable to understand the obvious, however, I haven't figured why would I need to do this? 回答1: I think that the answer to your question is to read up on serialVersionUID. In particular, you often want to