First I want to thank the authors for writing the amazing OCP study guide.
As this book helped me pass my OCP exam, it's an absolute honor to help others by adding a few errata.
I apologize in advance if these have been posted before.
The errors - at this time of writing - are not yet on this page though:
https://www.selikoff.net/java-ocp-8-programmer-ii-study-guide/
Note: These pages refer to the electronic version of this book.
P484 (and repeated further in chapter 9):
BasicFileAttributes, DosFileAttibutes, PosixAttributes and their respective view-classes are not classes but are interfaces.
P497 Question 3
One must assume import statements are correct when the code does not explicitly start from line 1.
This question does start from line 1, thus it's lacking the necessary import statements.
This code will not compile starting at line 1 instead of line 4 (answer at page 568).
Thank you once more for this amazing book, I couldn't have passed this exam so quickly if it weren't for you guys.
I wish you all a happy new year.
Greetings Melvin