Code example for ObjectInputStream

Methods: readInt, readLong, readObject