Nikolai Vinoku wrote:1) Chapter 3. Table 3.8 Logical operators. The last row should read "Exclusive OR" instead of "Exclusive XOR".
I'm going to add this one to our private list of stuff that isn't quite an errata to consider for a future edition. The intent was to write XOR to call attention to "Exclusive" part. But I can see how it is redundant.
2) Chapter 4. Review question #6. The question mentions inserting options into a blank, but I couldn't see any blank. Maybe it's a Kindle issue, though..
There's a blank in the printed book (after the if statement and before count++. I'm guessing you do see the blank in question 5 since you didn't remark upon that. Can you do me a favor and check if you see the two blanks in chapter 8 question 7? I want to see if the problem is specific to this question or occurs everywhere we have a blank line without any other text on it.
Nikolai Vinoku wrote:3) Chapter 5. The mistake on page 179 has already been added to the errata, but that example also has a small typo (space in the wrong place). "String concat = " hello"; concat += "world";" should be replaced with "String concat = "hello"; concat + = " world";".
Added errata. I went with
String concat = "hello "; instead of changing both lines. I confirmed the output is still true/false (aka it matches the other errata)
Nikolai Vinoku wrote:4) Chapter 6. Subsection "Supplier" of the section "Introducing Functional Interfaces". The last sentence should end with "returns 42" instead of "returns 2"..
Confirmed and added to errata. This one was interesting. We had it correct and our editor changed it in PDF review. (We review their changes so still had the opportunity to catch it though. So we still own the error)
Nikolai Vinoku wrote:Also, I think there is a mistake in answers to review question #16 in Chapter 5. According to answers, option F (Calling equals() on two ArrayList objects returns true) is correct / true. That these two ArrayLists are identical is probably implied, but not mentioned anywhere.
Subtle

. Good point. I put "two equivalent" on the errata page to address that edge case.