Code example for ObjectOutputStream

Methods: close, writeObject