Nuts. I went through all the questions in the book looking for conversion errors on the test site in one weekend when they did the conversion. (I wasn't given long to submit feedback.) I found over a dozen conversion errors that weekend; all of which were fixed before the book went live. I found errors in most questions with images and a few others. I focused on the answers and not the code snippets. I'll try to do do another pass tomorrow of the code blocks and then complain to the publisher. On the bright side, now I have the printed book which will make that comparison easier!
Since you have the print book, at least you have access to the intended question. It is possible to just buy the e-book though. So if anyone else stumbles on this before it is fixed, the code was supposed to be:
I've credited you in the errata. But since this is web only, I plan to delete that line from the errata once it is fixed.
I'll try to do do another pass tomorrow of the code blocks
It's possible that you've already previously found 99.9% of errata. Following my first 6 completed OCA Practice Test Chapters, I reviewed the answers for many of them. I'm not likely doing the extensive review that you've already completed, but this is the only thing, as minor as it is, that has really stood out for me.
I went through the code examples to look for "examples from the wrong question." I only found one other instance of this problem (in ch 19). I didn't look at ch 1-5 since you've already been through those .