Solved

Assuming That Class B Inherits from Class a and Method

Question 42

Multiple Choice

Assuming that class B inherits from class A and method foo belongs to class A, what do we mean by overriding method foo in class B?


A) We are calling method foo in class B.
B) We are not using method foo in class B.
C) We are replacing the superclass version of the foo method with a new foo method with the same signature.

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