Images

5

I/O and NIO

CERTIFICATION OBJECTIVES

•       Read and Write Data from the Console

•       Use BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter in the java.io 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.