I found small typo while reading your book on page 354: "Line 17 shows that we want to call string.startsWith() ...", where should be "str.startsWith()" or str variable on previous page on code lines 16 - 18 should be renamed on string.
Anyway, thank you very much for this really helpful book.
I don't have that book, so I can't verify that error. Look here and see whether that has already been listed; I didn't find it, so you probably have a new erratum.
Campbell: That's the link to the errata for our OCA book. The OCP errata is here
Lukas: Page 354 in the print book is about concurrency and there is no line 17. Is there a typo in your page # or is it that you are using an e-book. If the later, can you provide the title of the section?
Hello!
There is the statememt on page 160 that a compiler error results from code that attempts to add or remove an item in a list with unbounded wildcard.
With add I agree, bit wit remove I don't.
Denis Gurus wrote:Hello!
There is the statememt on page 160 that a compiler error results from code that attempts to add or remove an item in a list with unbounded wildcard.
With add I agree, bit wit remove I don't.