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 singleton activation mode in .net?

0 Answers  


What is Polymorphism? How does VB.NET/C# achieve polymorphism?

0 Answers  


What is smart navigation in .net?

0 Answers  


Tell about your technical profile ?

0 Answers   TNEB Tamil Nadu Electricity Board,


What is a manifest in .net?

0 Answers  


What are the new features in .net core?

0 Answers  


what is the default value of CHAR type?in C# using asp.net?

7 Answers   Bosch,


What's the problem with .net generics?

0 Answers  


The project which you have made, which methodology did you use?

0 Answers   Wipro,


can any one tel me hw to connect database connectivity of dot NET and back end as MS access?

1 Answers  


How many languages .NET is supporting now?

38 Answers   Dreamtech, IBS, Microsoft, Polaris, RDT, Softcon, Viscus Infotech,


Where does the gac exist ?

0 Answers  


Categories