Multiple Choice
When overriding a superclass method and calling the superclass version from the subclass method,failure to prefix the superclass method name with the keyword super and a dot (.) in the superclass method call causes ________.
A) a compile-time error.
B) a syntax error.
C) infinite recursion.
D) a runtime error.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: When a subclass constructor calls its superclass
Q5: Private fields of a superclass can be
Q6: Class _ represents an image that can
Q7: An advantage of inheritance is that:<br>A)All methods
Q9: Inheritance is also known as the<br>A) knows-a
Q10: To avoid duplicating code,use _,rather than _.<br>A)inheritance,the
Q14: Which of the following is not a
Q18: Superclass methods with this level of access
Q19: Which of the following keywords allows a
Q20: Overriding a method differs from overloading a