Code example for ObjectInput

Methods: readBoolean, readDouble, readInt, readLong, readObject, readUTF