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