Code example for ObjectOutputStream

Methods: flush, writeUTF