Solved

When Overriding a Superclass Method and Calling the Superclass Version

Question 4

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

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions