I've done some research. Here are the results!
Mushfiq Mammadov wrote:should be:
I agree with you on this one: the print statement should be adjusted to your proposal in order to get the output
-5, 10,
Mushfiq Mammadov wrote:
12. page 86 – Chapter 2 – Figure 2.5 says “semicolon” rather than “colon” when pointing to a colon. Reported by Dan.
But I don’t understand it because I don’t find this typo on page 86. The Figure 2.5 is on page 77 and there is no “semicolon” or “colon” in it. Then I look at other figures and saw “semicolon” typo on page 83, figure 2.8
This case is unclear for me. Please explain
Probably an errata item of the errata overview
In the figure 2.8 "The structure of an enhancement
for statement" (on page 83) a colon is used (because that's the correct syntax for this loop), but the label says "semicolon" (probably a left-over from the "regular"
for loop)
Mushfiq Mammadov wrote:Sorry if I am wrong.
No need to be sorry, you're spot-on on both occasions!
Hope it helps!
Kind regards,
Roel