AP Computer Science Amediummcq1 pt

Which class is a subclass of Object?

A.every class
B.only String
C.only user-defined classes
D.no class

Explanation

Core Concept

All classes descend from Object.

Correct Answer

Aevery class

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 →