Input/output (I/O) is one of the most common operations performed by computer programs. Examples of I/O operations include
creating and deleting files
reading from and writing to a file or network socket
serializing (or saving) objects to persistent storage and retrieving the saved objects
Java support for I/O has been available since JDK 1.0 in the form of the I/O API in the java.io package. JDK 1.4 added the New I/O (NIO) ...