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...


Explain the Scope of
public/private/friend/protected/protected friend.



Explain the Scope of public/private/friend/protected/protected friend...

Answer / srikanth

Public is accessible to all classes and projects.

Private is accessible only in the block that is declared.

Friend is accessible only to all classes in the current
project only.

Protected is accessible to only the class the is declared
and the class that is derived from that class.

Protected Friend is accessible to all the classes in the
current project and all classes derived from those classes.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What are HTML controls, Web controls, and server controls?

1 Answers  


Please explain what is the difference between a class and an object?

0 Answers  


Different levels of priority provided by .net.

0 Answers  


How is meant by dll in .net?

0 Answers  


Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?

0 Answers   CitiusTech,


What is Entity Relationship Model in .NET?

0 Answers   Viscus Infotech,


WHAT IS .net

3 Answers  


How to manage pagination in a page using .net?

0 Answers  


Difference between VB.NET and C#. Which is faster ?

16 Answers   TCS,


What is interface and abstract class in .net?

0 Answers  


Explaing your project.

1 Answers   Deloitte,


Explain me what are the deferred execution and the immediate execution in linq?

0 Answers  


Categories