Loading…
Loading…
A 20-question mixed review of OCP Java 21 Chapter 14: File and Path, normalize, resolve and relativize, Files copy, move and delete, byte and character streams, reading and writing files, serialization, the console, mark and reset, attributes, walk and find.
A mixed review of Chapter 14: I/O. Take it after finishing the chapter, from Java File and Path: Creating Paths and Converting Between Them to Java Files Advanced: Attributes, walk, find, lines and mark/reset.
Several questions combine rules from different articles, as the real exam does. Every compile and output claim was checked against a real JDK, using temporary files where needed. Aim for at least 15 out of 20 (75%) before moving on to the final part of the course.
Quiz path: step 105. Take the quizzes in this order, after reading each article.
Previous quiz: Advanced Files, walk and find (OCP 21)
Next quiz: Java 22 to 25 for 1Z0-831 (OCP 21)
20 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.