1 | Provides the ability to write the complete state of an object to an output stream and then recreate the object later by reading the serialized representation from an input stream. |
2 | Classes ObjectOutputStream and ObjectInputStream have methods to read and write objects (as well as primitive types). |
3 | Used for transferring objects in cut-and-paste, RMI, and JavaBeans. |
4 | Also useful for saving customized or pre-initialized states of objects such as GUI's. |