There are three exceptions in which serialization doesnot necessarily read and write to the stream. These are1. Serialization ignores static fields, because they are not part of ay particular state state.2. Base class fields are only hendled if the base class itself is serializable.3. Transient fields.
共 1 个关于本帖的回复 最后回复于 2013-8-16 15:53