Solved

What Is Wrong with the Following Code? Public Class ClassB

Question 58

Multiple Choice

What is wrong with the following code? public class ClassB extends ClassA
{
Public ClassB()
{
Int init = 10;
Super(40) ;
}
}


A) Nothing is wrong with this code.
B) The method super is not defined.
C) The call to the method super must be the first statement in the constructor.
D) No values may be passed to super.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions