• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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: 79956
396
  • 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: 42003
911
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.
 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic