java.io
In this level, we explored input and output streams and got acquainted with their methods. If you feel that I/O in Java is not yet a settled topic for you, let's continue the conversation and look at a few examples of its use. Nothing complicated: read this article entitled "Input/output in Java. FileInputStream, FileOutputStream, and BufferedInputStream classes".
java.nio
Starting in Java 7, the language's creators decided to change how we work with files and directories. Look at this article: "Java Files, Path".
GO TO FULL VERSION