Code example for ObjectInputStream

Methods: readBoolean, readObject