Input and Output

Java I/O is defined in terms of streams. The java.io package defines abstract classes for input and output streams. These classes are extended to provide stream types for specific purposes.

Typical examples of I/O classes are: