Explanation said:
"protected
It will allow the subclasses and the classes in same package to access the
method."
I think this definition is for "default" not protected.
Is it right?
About Question enthuware.ocajp.i.v7.2.1330 :
Moderator: admin
-
- Posts: 37
- Joined: Thu Feb 13, 2014 12:58 am
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1330 :
No, it is correct. subclasses can be in any package while classes in the same package do not need to be subclasses.
Who is online
Users browsing this forum: No registered users and 5 guests