Asked by Zeyka Strandzheva on May 12, 2024

verifed

Verified

A subclass cannot directly access public members of a superclass.

Public Members

Elements of a class that can be accessed from any other code in the application or from any instance of the class.

Superclass

The parent class from which a subclass inherits features like methods and properties in object-oriented programming.

  • Acquire insight into the handling of access levels and their reach in Java class hierarchies.
  • Gain insight into the constraints and features of subclasses inheriting attributes from superclasses.
verifed

Verified Answer

MN
Mardelyn Nepomuceno-PagaduanMay 12, 2024
Final Answer :
False
Explanation :
A subclass can directly access public members of its superclass, as public access level allows visibility to all classes.