AP Computer Science Amediummcq1 pt

In the AP subset, an overriding method’s return type must be

A.the same type
B.any type
C.always void
D.always int

Explanation

Core Concept

The return type must match.

Correct Answer

Athe same type

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 →