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 the differences between vb.net and c#, related to oops concepts?

523


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

1870


Explain about the ruby interface generator?

552


Explain how to send xml file on server using http protocol?

501


What is the significance of delegates?

521






What is the size of .net object?

590


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

561


Explain about visual basic?

556


What is the Advantage of vb.net over vb

570


What is normal jit?

620


What do you mean by serialization?

541


How to achieve Polymorphism in VB.Net?

624


Can you please explain the difference between thread and process?

527


Explain about globalization?

502


Observations between vb.net and vc#.net?

575