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
Overriding replaces behavior.
Aa subclass redefines an inherited method with the same signature
Practice more AP Computer Science A questions with full explanations
Practice Unit 9: Inheritance Questions →