• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

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

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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: 67437
257
  • Mark post as helpful
  • send pies
  • 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
  • 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: 39789
797
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • 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.
 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!