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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents