1

In Java, can a subclass access public members (fields and methods) of its superclass defined in another package?

Correct Answer: Yes, public members are accessible to subclasses from different packages

Make the most of this question

This page focuses on one JAVA MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JAVA MCQs MCQ: In Java, can a subclass access public members (fields and methods) of its superclass defined in another package? | Extra Education