This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • 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
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

misprint-in-chapter-5 OCAJP 8 by Sybex  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page 262 of Certified Associate Java ®  SE 8 Programmer I Study Guide, second paragraph:

If we changed the access modified from private to protected in the parent class Whale,
would the code compile?



It seems modified should have been modifier with R instead of D in the end.
 
Marshal
Posts: 64154
215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I think you are right; please verify that this is the link to the correct book; I couldn't find that mistake noted.
 
Bartender
Posts: 1197
74
Angular Framework AngularJS Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome again    

Yes It is an erratum not listed yet in the errata list. Thank you for reporting. To get more volunteers attention, please always mention author(s) or publication name along with the book name, would be easier for them to know which book you are referring to. Since I own this book ( OCA Java SE 8 Programmer I Study Guide by Sybex ) I'm sure It's from that book so edited the title accordingly.    
 
author & internet detective
Posts: 39235
727
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed. I've added it to the errata.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!