Solved

When Overriding a Superclass Method and Calling the Superclass Version

Question 2

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:

verifed

Verified

Related Questions