Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is shadowing?

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


Please Help Members By Posting Answers For Below Questions

How you can return View from ASP.NET Web API method?

1015


Can you change a Master Page dynamically at runtime?

963


What is a web based system?

979


What are the components of ado.net?

959


Why is global asax is used?

1029


Can we set which type of comparison we want to perform by the CompareValidator control?

1031


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

3043


Any disadvantages in Dataset and in reflection ?

3258


Why cyclomatic complexity is important?

1028


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

1057


What are the different types of Caching techniques in ASP.NET?

1057


What is query string? What are its advantages and limitations?

977


What is the difference between response.redirect and server.transfer?

1033


Define authentication and authorization.

1091


How we can force all the validation controls to run?

994