Hi,
This is a question form a Mock exam:
True or False: If class Y extends class X, the 2 classes are in different packages; and class X has a protected method called abby() then any instance of Y may call the abby() method on any instance of Y?
I think the answer is True, but according to the
test simulator it is False.
What do you think?
Thanks
Katrin
Katrin
SCJP 5.0, SCWCD, SCBCD, Oracle Certified Master Enterprise Architect