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:

Verified
Correct Answer:
Verified
Related Questions
Q53: _ tells the Java compiler that a
Q54: A compiler error will result if an
Q55: If a method in a subclass has
Q56: The _ key word is used to
Q57: When declaring class data members it is
Q59: In an inheritance relationship _.<br>A) the subclass
Q60: It is not possible for a superclass
Q61: Every class has a toString method and
Q62: If a subclass constructor does not explicitly
Q63: If two methods in the same class