By default, the serialization mechanism encodes an object's class name, the names of its non-transient fields (including non-public fields), and thevalues of all of those fields.
上面这段话,是翻阅Serializable源码的时候看到的,transient 在Java里面是关键字,字面意思是瞬态的,可以参阅这篇博客http://www.blogjava.net/fhtdy2004/archive/2009/06/20/286112.html
被transient 修饰的成员变量fields 不会被序列化,包括非public的成员变量field
Changing the class name, field names or field types breaks serializationcompatibility and complicates interoperability between old and new versionsof the serializable class.
源码里有上面一段话,意思是告诉我们,不要修改类名,成员变量名,成员变量类型
Adding or removing fields also complicates se