Code example for ObjectInputStream

Methods: readInt, readObject