Serialization of Objects

  • Mechanism of writing the state of an object into a byte stream.

  • Converting state of an object into a form that can be persisted or transported.

  • Static Variable can't be serialized

  • Serialization with Inheritance

    If parent is serializable, so is child.

  • Serialization with Aggregation

    If a serializable class has reference to another class, all references must be serializable


Backlinks