AP Computer Science Aeasymcq1 pt

Method overriding means

A.a subclass redefines an inherited method with the same signature
B.a class defines two methods with the same name
C.a method calls itself
D.a method changes its return type only

Explanation

Core Concept

Overriding replaces behavior.

Correct Answer

Aa subclass redefines an inherited method with the same signature

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 →