• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

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: 40487
823
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: 40487
823
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.
 
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic