Solved

What Happens When You Declare a Property Defined in a Base

Question 37

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