Code example for ObjectOutputStream

Methods: writeLong, writeUTF