• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

Some more typos in OCP SE11 Study Guide by Jeanne Boyarsky and Scott Selikoff

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Marshal
Posts: 78441
374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please supply more information (at least about the chapter 10 problem). Otherwise only people who have the book can help you.
 
Nikolai Vinoku
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Please supply more information (at least about the chapter 10 problem). Otherwise only people who have the book can help you.



Yes, I should have provided more information, but I now have already solved this problem. Thank you!
 
author & internet detective
Posts: 41763
885
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. I added #2 and #3 to the errata. For #1 and #4, i added them to our private list of stuff that could be clearer, but isn't quite wrong.
 
Good night. Drive safely. Here's a tiny ad for the road:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic