ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What happens to the static fields of a class during serialization?

There are three exceptions in which serialization doesnot necessarily read and write to the stream.
These are
1. Serialization ignores static fields, because they are not part of ay particular state.
2. Base class fields are only handled if the base class itself is serializable.
3. Transient fields.
Related Posts Plugin for WordPress, Blogger...
Flag Counter