Passed 1Z0-809 with 88% score big thanks to:
Jeanne Boyarsky & Scott Selikoff for most of what I've learned for this exam
Kathy Sierra & Bert Bates for their great OCP7 preparation book, I've used it for some topics.
Paul from enthuware and all enthuware team for their great mock tests.
A. It will access the file /lemur/habitat/party.txt.
B. It will access the file /habitat/party.txt.
C. It will access the file /home/habitat/party.txt.
D. If the String value ,,, is contained within the file, it will definitely print false.
E. If the String value ,hat, is contained within the file, it will definitely print false.
F. It will always print false.
G. The code does not compile
Answer: B, E
The problem is answer should be C, E. Even description inside answer matches C option. The description says:
"The value path1.subpath(1,4) returns habitat/./party.txt, which we join to the current directory /home with the toAbsolutePath() method in order to see that we are accessing the file /home/habitat/party.txt"
I'm not sure where I should report this kind of errors.
I've found error in online mock exams for this book.
In batch 1 of online mock exams there is question 55 which is:
"Which of the following is least likely to be supported by your JDBC driver?"
the correct answer should be:
But if you check answer for this question it shows that answer B is correct, which is: ResultSet.CONCUR_UPDATABLE"