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 asp.net and its advantages?
How to set the pane area to transparent of a scrollPane component.?
What is custom events? How to create it?
What is ascx?
How will create assesblies at run time?
How will you maintain versioning in asp.net 2.0?
What is route in web api?
Which .NET framework supports Web API?
What is a web server? What are the load limits in it?
Give 2 examples for scenarios when routing is not applied?
In which situation can you not use a viewstate?
How do you create a master page?
Is react a template engine?
Are cookies client side or server side?
In early binding will the method invoked on com component will verify it?s existance in the system or not ?