Solved

What Happens When You Declare a Property Defined in a Base

Question 13

Multiple Choice

What happens when you declare a property defined in a base class as override in a derived class?


A) The new declaration is eliminated in favor of the old declaration.
B) The new declaration removes the old declaration at compile time.
C) The new declaration is used when the compiler deems it appropriate.
D) The new declaration overrides and hides its counterpart in the parent class.

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