AP Computer Science Amediummcq1 pt

A hierarchy where Cat, Dog, and Bird extend Animal uses

A.one superclass with several subclasses
B.several superclasses for one subclass
C.no inheritance
D.interfaces only

Explanation

Core Concept

Animal is the shared parent.

Correct Answer

Aone superclass with several subclasses

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 →