• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ERRATA for Oracle Certified Associate Java SE 8 Programmer I Study Guide Exam 1Z0-808

 
Willyan Silva
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, everybody!!!
At page 237. The paragraph bellow the note says that the default package private modifier allows access to a subclass, but it doesn't. Default package private modifier only grant access to classes within the same package to access it.
Best regards.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Willyan,
Welcome to CodeRanch!

Thanks for pointing that out! You are right. That is the definition of protected, not default access. I've logged it and given you credit in the errata
 
Willyan Silva
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Willyan,
Welcome to CodeRanch!

Thanks for pointing that out! You are right. That is the definition of protected, not default access. I've logged it and given you credit in the errata


;-) Ok. Count on me any time. And thank you all by the teaching!
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Willyan Silva,

First of all, a warm welcome to CodeRanch!

Willyan Silva wrote:At page 237. The paragraph bellow the note says that the default package private modifier allows access to a subclass, but it doesn't. Default package private modifier only grant access to classes within the same package to access it.

This (ambiguous) statement was already discussed a few months ago. And luckily for you the authors didn't consider it an errata item back then, otherwise you would not have got the credit for spotting this errata item and your name was not shining on the official errata overview

Kind regards,
Roel
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At that point, I said " I'm not sold on it being an errata yet. ". Now I am. It's too ambiguous to be clear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic