Answer Posted / shalini
When two programming elements share the same name, one of
them can hide, or shadow, the other one. In such a
situation, the shadowed element is not available for
reference; instead, when your code uses the shared name,
the Visual Basic compiler resolves it to the shadowing
element.
Shadowing through inheritance is hiding a method of a
base class and providing a new implementation for the same.
This is the default when a derived class writes an
implementation of a method of base class which is not
declared as overridable in the base class. This also serves
the purpose of protecting an implementation of a new method
against subsequent addition of a method with the same name
in the base class.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Is asp.net mvc front end or backend? : Asp.Net MVC
Explain the difference between value type and reference type?
How will create assesblies at run time?
Define asp.net caching?
What is the significance of ASP.NET routing?
Write a code for passing ArrayList in Web API?
How are sessions stored?
How can you use a custom controls in ASP.NET application?
What is difference between cache and session?
Is there any property names “isnavigating”?
What is autopostback in asp net?
Which protocol is used in a web api?
What is difference between mvc and asp.net? : Asp.Net MVC
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What are custom controls?