What is the output of running class Test?

```
public class Test {
public static void main(String[] args) {
new Circle9();
}
}

public abstract class GeometricObject {
protected GeometricObject() {
System.out.print("A");
}

protected GeometricObject(String color, boolean filled) {
System.out.print("B");
}
}

public class Circle9 extends GeometricObject {
/** No-arg constructor */
public Circle9() {
this(1.0);
System.out.print("C");
}

/** Construct circle with a specified radius */
public Circle9(double radius) {
this(radius, "white", false);
System.out.print("D");
}

/** Construct a circle with specified radius, filled, and color */
public Circle9(double radius, String color, boolean filled) {
super(color, filled);
System.out.print("E");
}
}
```
a. ABCD
b. BACD
c. CBAE
d. AEDC
e. BEDC

e

Computer Science & Information Technology

You might also like to view...

In conjunction with the drawing views, what kinds of objects have to be incorporated in a drawing?

What will be an ideal response?

Computer Science & Information Technology

If n computers are interconnected and the availability of each computer is needed to maintain a service provided using distributed computing involving these computers, what is the probability that the service will not be available at any time, assuming that no other components in the distributed system will fail?

In this exercise we will use a simplified mathematical model to analyze failures in a distributed system. Explain your answers. Suppose each computer in has a probability of p of failing at any time.

Computer Science & Information Technology