I/O and NIO


•       Read and Write Data from the Console

•       Use BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter in the Package

•       Use Path Interface to Operate on File and Directory Paths

•       Use Files Class to Check, Read, Delete, Copy, Move, Manage Metadata of a File or Directory

•       Use Stream API with NIO.2

Images     Two-Minute Drill

Q&A   Self Test

I/O (input/output) has been around since the ...

Get OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.