1.

What Happens To The Static Fields Of A Class During Serialization?

Answer»

There are three exceptions in which serialization does not necessarily READ and write to the stream.

  • Serialization ignores static fields, because they are not PART of any STATE.
  • Base CLASS fields are only handled if the base class itself is serializable.
  • Transient fields.

There are three exceptions in which serialization does not necessarily read and write to the stream.



Discussion

No Comment Found