posted 4 years ago
1) Chapter 7. Section Applying Access Modifiers, subsection Protected Access. The first sentence in the second paragraph from the end. "... not in the goose object" should be replaced with "... not in the Goose class".
2) Chapter 7. Review question #11, line 16. Should be "print" instead of "println".
3) Chapter 7. Review question #19, option F. Should be "method" instead of "constructor".
4) Chapter 9. Section Implementing Interfaces, the example with the HasBigEyes interface. Should be "public class Owl implements HasBigEyes" instead of "public class Owl implements Nocturnal, CanFly".
Also, there is one example in chapter 10 that I do not understand. It's at the very beginning of the last section Calling Methods That Throw Exceptions. The book says that the bad() method doesn't compile. But it does compile for me.
EDIT: I now understand the last example. It was my mistake. I didn't notice that the eatCarrot() method doesn't throw any exceptions here.