Chapter 19Java File I/O (NIO.2)
THE OCP EXAM TOPICS COVERED IN THIS PRACTICE TEST INCLUDE THE FOLLOWING:
- Java File I/O (NIO.2)
- 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
-
Fill in the blanks: A(n)__________ is a file that contains a reference to another file or directory, while a(n)__________ is a file that contains content.
- irregular file, regular file
- regular file, opaque file
- symbolic link, regular file
- symbolic link, symbolic directory
-
Which methods listed below are found in the NIO.2 Path interface? ...
Get OCA / OCP Java SE 8 Programmer Practice Tests 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.