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
You might also like to view...
You do not have to worry about checking the spelling and grammar in your Word documents.
Answer the following statement true (T) or false (F)
Impact printers are noisy because a mechanism strikes against an inked ribbon that physically contacts the paper.
Answer the following statement true (T) or false (F)
Storage space on an Internet site that may also display as a drive on your computer.
What will be an ideal response?
When the Magic Wand tool is selected, the ____ on the options bar lets you select pixels that are next to one another.
A. Tolerance check box B. Anti-alias check box C. Contiguous check box D. Use All Layers check box