Code example for ObjectInput

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