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
The return type must match.
Athe same type
Practice more AP Computer Science A questions with full explanations
Practice Unit 9: Inheritance Questions →