AP Computer Science Amediummcq1 pt

A class hierarchy allows

A.subclasses to specialize superclass behavior
B.multiple superclasses per subclass
C.a superclass to inherit from a subclass
D.classes to share private members

Explanation

Core Concept

Subclasses refine inherited behavior.

Correct Answer

Asubclasses to specialize superclass behavior

More Unit 9: Inheritance practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 9: Inheritance Questions →