Henno Vermeulen wrote:In Chapter 14 exercise 2 the line
calls the method
of java.util.List. It does not call
to remove the element 2 as one might expect, but instead removes the element at index 2, which is 6.
Henno Vermeulen wrote:In Exercise 8 of chapter 14 the line
gives the caller of the getHighScores() method a read-only view of the private ArrayList that is intended to be guarded by the lock.
Nicolas Lepage wrote:Chapter 8 Self Test Question 2 (p 466) :
The value "en_CA" is passed to the Locale constructor as a language code.
James Pittendreigh wrote:Page 927 - Example from Using Savepoints with JDBC...
Savepoint sp1 is not available in the scope in which it is rolled back.
R Svendsen wrote:Chapter 8, self test question 3 - Kindle edition
Another approach is to use apostrophes instead of quotation marks.
This will prevent the substitution.
R Svendsen wrote:OCP Mock Exam 1 Question 20 - Bango, Bongo, Bingo
Correct and incorrect answers are inverted.