Which modifiers hides an inherited method with same signature

A) New
B) Virtual
C) Sealed
Explanation: New hides the inherited method which was overridden by base class

Showing Answers 1 - 4 of 4 Answers

naveentej

  • Jan 8th, 2006
 

Ans: A

We use New to specify that a method in a derived class shadows /hides a method with same signature in its base class

  Was this answer useful?  Yes

dan

  • Mar 8th, 2006
 

Ans A)

'New' hides the inherited method that has same signature as the base method.

so when you refer to the method you will get the one in the derived class - not the one in the base class - its hidden by the 'New' keyword

Amit

  • Oct 13th, 2006
 

A) Ans is New

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions