AP Computer Science Amediummcq1 pt

A subclass constructor must call a superclass constructor

A.before any other statement in its body
B.after initializing its own fields
C.only if the superclass has none
D.at any point in the body

Explanation

Core Concept

super must come first.

Correct Answer

Abefore any other statement in its body

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 →