About friend and Protected friend ?

Answer Posted / sivasaravanan

Friend: Only members in current project access the
variables.

Protected Friend: All members in current project and all
members in derived class access the variables.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are main return types supported in Web API?

733


What is the mvc framework?

554


Explain what is viewstate?

536


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

614


Explain the difference between globalization and localization techniques

522






What are the different kinds of assemblies?

512


What is the life-span of the items in the viewstate?

488


To load your generated dataset with data which method do you invoke?

587


What is protected configuration?

591


How would you turn off cookies on a page of a website?

496


Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

523


Can you explain composite pattern?

575


Explain Optimization technique description?

586


Why asp.net is better than php?

481


What are uri parameters?

531