What class allows you to read objects directly from a stream
The ObjectInputStream class supports the reading of objects from input streams. In Core Java, the class that allows you to read objects directly from a stream is ObjectInputStream. This class is part of the Java I/O (Input/Output) API and is used for deserializing objects from a stream. The ObjectInputStream reads data written by an ObjectOutputStream and reconstructs … Read more