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
What is autopostback in dropdownlist in asp net?
How to retrieve user name in case of Window Authentication?
What is clickid?
What is http post action?
What is the request flow used for asp.net mvc framework? : asp.net mvc
Is viewstate enabled by default?
What is the behavior of a Web browser when it receives an invalid element?
What is a web pool?
What are the asp.net server side objects?
What is the purpose of using MVC programming pattern in ASP.NET?
What language is asp.net written in?
A web service can only be written in .net? State whether true or false.
To bind columns manually which tags do you need to add within the asp:datagrid ?
What is session in asp.net?
Is it true that a Web service must be written in .NET or not?