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

Explain about .net assemblies?

0 Answers  


Is it possible implement webservices without SOAP?

2 Answers   HCL,


Explain the use of activex control in .net?

0 Answers  


What's wrong with a line like this? Datetime.parse(mystring);

0 Answers  


what are connection strings?

0 Answers   Manhattan, RTRT,


Garbage collector thread is what kind of a thread?

1 Answers  


What are the two main parts of the .net framework?

0 Answers  


How you apply a theme in whole application in .Net?

0 Answers   PUCIT,


Explain about Behavioral design pattern?

0 Answers  


Tell me what is a “jagged array”?

0 Answers  


What is the use of activex control in .net?

0 Answers  


Explain constructor.

2 Answers   Wipro,


Categories