Java object Serialization and inheritance
Serializable is just a “marker interface” for a given class. But that class must adhere to certain rules: http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html To allow subtypes of non-serializable classes to be serialized, the subtype may assume responsibility for saving and restoring the state of the supertype’s public, protected, and (if accessible) package fields. The subtype may assume this responsibility … Read more