jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes protected access question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "protected access question" Watch "protected access question" New topic

protected access question

Kenny Johnson
Ranch Hand

Joined: Jan 01, 2007
Posts: 37

How come in the ChildUtil class that extends ParentUtil, I cant call the protected method of ParentUtil. Protected access states that you have to be either in the same package or a child class to use protected variables / methods. Can someone please explain where I am going wrong?
I agree. Here's the link: http://aspose.com/file-tools
subject: protected access question
It's not a secret anymore!