About Question enthuware.ocajp.i.v7.2.1330 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
fasty23
Posts: 37
Joined: Thu Feb 13, 2014 12:58 am
Contact:

About Question enthuware.ocajp.i.v7.2.1330 :

Post by fasty23 »

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?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v7.2.1330 :

Post by admin »

No, it is correct. subclasses can be in any package while classes in the same package do not need to be subclasses.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests