AP Computer Science Aeasymcq1 pt

Which expression calls the superclass's version of a method named act?

A.super.act()
B.this.act()
C.act.super()
D.parent.act()

Explanation

Core Concept

super reaches the parent method.

Correct Answer

Asuper.act()

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 →