2. Where in a constructor, can you place a call to a constructor defined in the super class? A. Anywhere B. The first statement in the constructor C. The last statement in the constructor D. You can't call super in a constructor

Computers

Question
2. Where in a constructor, can you place a call to a constructor defined in the super class?
A. Anywhere
B. The first statement in the constructor
C. The last statement in the constructor
D. You can't call super in a constructor
Answer

B. The first statement in the constructor

Download to view full explanation
The correct answer is B. The first statement in the constructor. A constructor defined in the super class can be called in the constructor of the subclass by...
Solve any homework question FREE with our app, NO PAYMENT required!