Serializable
- Ability to save a java object to a stream
- Implementing Serializable enables serialization.
- No methods or fields, just a semantic construct - tag.
- NotSerializable Exception is thrown if the object graph
has any non serializable objects - transient modifier
- Can all classes be serialized?
private void writeObject(java.io.ObjectOutputStream out)
private void readObject(java.io.ObjectInputStream in)
throws IOException, ClassNotFoundException;