AP Computer Science Amediummcq1 pt

If a subclass constructor omits super(), the compiler

A.inserts a call to the superclass no-argument constructor
B.reports an error always
C.inserts nothing
D.makes the class abstract

Explanation

Core Concept

The default call is implicit.

Correct Answer

Ainserts a call to the superclass no-argument constructor

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 →