Hi,
is there an errata for the new book "OCA
Java SE 8 Programmer I Exam Guide (Exams 1Z0-808)", by Kathy Sierra and Bert Bates (
this one)?
i'm studying for the exam on this book and i've noted an error (certainly a print error, nothing special)
Question 19 of chapter 6 self
test say:
"Given that e refers to an object that implements Predicate, which could be valid code snippets or statements? (Choose all that apply.)"
A. if e.test (m) )
B. switch (e.test (m))
C. while (e.test (m))
D. e.test (M) ? "yes" : "no";
E. do {} while (e.test (m));
F. System.out.print (e.test (m));
G. boolean b = e.test (m)
);
Answers say that are all correct except B, but also G is incorrect beacause there is an exceeding right parentheses
As i said is nothing special, but when you prepare this exam you look at every quote, semicolon, parentheses, etc. so should be corrected in next edition