Code example for ObjectInput

Methods: readDouble, readFloat