Multiple Choice
In the following code,what will the call to super do? public class ClassB extends ClassA
{
Public ClassB()
{
Super(40) ;
System.out.println("This is the last statement "+
"in the constructor.") ;
}
}
A) This cannot be determined form the code.
B) It will call the method super and pass the value 40 to it as an argument.
C) It will call the constructor of ClassA that receives an integer as an argument.
D) The method super will have to be defined before we can say what will happen.
Correct Answer:

Verified
Correct Answer:
Verified
Q9: Protected class members are denoted in a
Q13: An abstract class is not instantiated, but
Q14: Look at the following code.The method in
Q19: In the following statement,which is the subclass?
Q23: Protected members are<br>A) not quite private<br>B) not
Q27: In an inheritance relationship, the subclass constructor
Q39: If ClassC extends ClassB, which extends ClassA,
Q46: Which of the following is true about
Q51: Look at the following code. Line 1
Q57: When declaring class data members it is