Code example for ObjectOutputStream

Methods: flush, reset, writeObject