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

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41775
887
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
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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41775
887
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
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.
 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic