Code example for ObjectInputStream

Methods: readBoolean, readInt, readObject