What is shadowing?

Answers were Sorted based on User's Feedback



What is shadowing?..

Answer / raju jaiwardhan

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 element name,
the Visual Basic compiler resolves it to the shadowing
element.

Is This Answer Correct ?    18 Yes 0 No

What is shadowing?..

Answer / magesh

When two programming elements share the same name, one of
them can hide, or shadow, the other one. Return type
changable.

Is This Answer Correct ?    4 Yes 0 No

What is shadowing?..

Answer / mark

Two methods can have same method name and same signature of
method.But, one method can hide the other method.It uses
Mybase keyword in vb.net,where overriding using Me keyword
in vb.net.

Is This Answer Correct ?    1 Yes 1 No

What is shadowing?..

Answer / maloy.adhikari

Shadowing is a concept of polymorphism usage in Object
Oriented Programming. This is a concept related to
over-riding functions at run-time or making a shadow of the
object's methods in the inherited classes.

Is This Answer Correct ?    0 Yes 0 No

What is shadowing?..

Answer / nithya

shadowing provide new implementation from base class member without overriding the member.You can hide base class member in derived class using the keyword "NEW"...

Is This Answer Correct ?    0 Yes 0 No

What is shadowing?..

Answer / rohan patel india

shadowing in general is when two variables/methods or any
other element has same name and any one of the both can
shadow( in OOP case override) the behavior of other.

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More Dot Net Framework Interview Questions

What is .net framework used for?

0 Answers  


Explain what languages does the .net framework support?

0 Answers  


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

0 Answers   NA,


What is definingquery in entity framework? : Entity framework

0 Answers  


What are the different types of filters, in an asp.net mvc application?

1 Answers   NA,






Integer & struct are value types or reference types in .NET?

3 Answers  


What are the mobile devices supported by .net platform

1 Answers  


Can I add asp.net mvc testcases in visual studio express?

0 Answers  


What are the levels at which filters can be applied in an asp.net mvc application?

0 Answers   NA,


Is it possible to unit test an mvc application without running the controllers in an asp.net process?

0 Answers  


Hello guyz, I have interview scheduled next week on .Net Framework 1.1? Can any one please provide a) list of interview questions on .net frame work 1.1? b)basic differences between .net framework 1.1 and 2.0 and 3.5 c)the topics that i need to concentrate while preparing Thanks in advance

0 Answers   Logica CMG, TCS,


what is eager loading?

0 Answers   Microsoft,


Categories