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's the .net collection class that allows an element to be accessed using a unique key?

0 Answers  


What is marshling?

0 Answers  


What are the providers available with VS.NET ?

2 Answers   TCS,


syntax for binding the data from database

1 Answers   Satyam,


What does jit do?

0 Answers  


What are possible implementations of distributed applications in .NET?

1 Answers  


Which namespace is used to support multithearding in .NET?

0 Answers   Sans Pareil IT Services,


What?s Singleton activation mode?

1 Answers  


What's singleton activation mode in .net?

0 Answers  


Do you know what is linq?

0 Answers  


what is the use of "mustinherit" keyword?

2 Answers  


What's singlecall activation mode used for in .net?

0 Answers  


Categories