What is the output of running class C?

```
class A {
public A() {
System.out.println(
"The default constructor of A is invoked");
}
}

class B extends A {
public B() {
System.out.println(
"The default constructor of B is invoked");
}
}

public class C {
public static void main(String[] args) {
B b = new B();
}
}
```
a. Nothing displayed
b. "The default constructor of B is invoked"
c. "The default constructor of A is invoked" followded by "The default constructor of B is invoked"
d. "The default constructor of B is invoked" followed by "The default constructor of A is invoked"
e. "The default constructor of A is invoked"


c. "The default constructor of A is invoked" followded by "The default constructor of B is invoked"

Computer Science & Information Technology

You might also like to view...

How many computers do you have? List them.

What will be an ideal response?

Computer Science & Information Technology

A(n) ________ relationship is a relationship that does not enforce referential integrity

A) calculated B) compared C) logical D) indeterminate

Computer Science & Information Technology

Personal-business letters are generally keyed in modified-block format.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Use the Page Layout tab to insert a table.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology