Input/output (I/O) is one of the most common operations performed by computer programs. Examples of I/O operations include
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) APIs that offer performance improvement in buffer management, scalable network and file I/O. Java NIO APIs are part of the java.nio package and its subpackages. JDK 7 introduced yet a new set of packages called NIO.2 to complement the existing technologies. There is no java.nio2 package. Instead, ...