What is shadowing?

Answer Posted / manikandan

When global and local varible in the same name.
the local varibale in a mehod or function which use to
override the global is called the shadowing.
ie the Global varible is being shadowed by the
local varible

Is This Answer Correct ?    41 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain private assembly?

597


What is normal jit?

709


Explain the use of new keyword?

636


Explain about the ruby interface generator?

639


What is meant by jagged arrays?

654






Define serialization in .net?

717


Can you please explain the difference between dispose and finalize()?

579


Explain about Visual basic.NET culture?

670


What is the importance of a Button control?

968


What is a static class?

667


What is deep copy?

639


described weak typing?

677


Explain the observations between vb.net and vc#.net?

600


Explain the components of common language runtime.

613


What is different between web.config and machine.config and where it will be ?

652