Multiple Choice
Which of the options listed will happen if the following code segment is run, assuming the remainder of the program is coded correctly?
10 public class Circle extends Figure
11 {
12 private int radius;
13 public Circle( )
14 {
15 super( ) ;
16 radius = 0;
A) The default constructor of the Figure class will be called (line 15) .
B) The default constructor of Radius class will set radius to 0.
C) The attempt to instantiate an object of the abstract class will generate a compiler error.
D) All of these are correct.
Correct Answer:

Verified
Correct Answer:
Verified
Q16: You have written a SavingsAccount class based
Q17: Public fields and methods are inherited.
Q18: The extends keyword specifies that the subclass
Q19: The interface concept is Java's way of
Q20: When a class extends another class, the
Q22: Private fields and methods are part of
Q23: If the call to the direct superclass
Q24: Usually, an abstract class contains at least
Q25: Protected fields and methods are inherited.
Q26: Which Java keyword do we use in