Title: ObjectOutputStream / ObjectInputStream
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- ObjectOutputStream / ObjectInputStream lecture video (Time: 26:00)
- ObjectOutputStream / ObjectInputStream document

- Binary Input/Output usning the ObjectInputStream and ObjectOutputStream classes.
- Classes read and written need to be Serializable.
- Note the methods in ObjectOutputStream of writeByte, writeInt, writeLong, writeDouble writeUTF(for Strings), writeObject and matching methods for reading these entities back in with the ObjectInputStream class.
- Example of Dumping and Restoring a Zoo (from our cps161 homework).