Answer:
You can use the new modifier to explicitly hide a member inherited from a base class.
To hide an inherited member, you have to declare it in the derived class using the same name, and modify it with the new modifier.
Asked In: Many Interviews |
Alert Moderator