Java IO Class Classification

  • By function: Input streams and Output streams.
  • By type: Byte streams and Character streams.

Java I/O Operation Classes

The Java I/O operation classes are located in the java.io package, primarily consisting of the following four major categories:

  • I/O interfaces based on byte operations: InputStream and OutputStream.
  • I/O interfaces based on character operations: Writer and Reader.
  • I/O interfaces based on disk operations: File.
  • I/O interfaces based on network operations: Socket.