About Question enthuware.ocajp.i.v8.2.1330
Posted: Thu Oct 06, 2016 10:44 pm
A student submitted the following:
Please see the attached file. Answer option D is, in fact, correct. Classes outside of the package cannot see the class, so there can be NO subclasses that exist outside of the package. The question does not specify that the subclasses must be able to exist outside the package. Based on both of these facts, all subclasses of a class with default access can access the classes method.
Please see the attached file. Answer option D is, in fact, correct. Classes outside of the package cannot see the class, so there can be NO subclasses that exist outside of the package. The question does not specify that the subclasses must be able to exist outside the package. Based on both of these facts, all subclasses of a class with default access can access the classes method.