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 from 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.

c. It will call the constructor of ClassA that receives an integer as an argument.

Computer Science & Information Technology

You might also like to view...

Match each of the following terms to its definition

I. Bullets II. Tab stops III. Dot leader IV. Leader character V. Margins A. Small circles or check marks B. A solid, dotted, or dashed line C. Symbols that appear after pressing Tab D. Displays between columns of a list E. A document layout element

Computer Science & Information Technology

A hybrid boot allows for faster startup and shut-down times on your computer

Indicate whether the statement is true or false

Computer Science & Information Technology