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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about managed heap?

1099


I'm having some trouble with cas. How can I troubleshoot the problem?

1016


What is .net debug & trace?

1069


What is SOAP? How you will do windows and forms authentication?

1178


What is a windows process in .net?

1070


Define marshling?

1128


What is new in .net core?

934


What is the difference between encrypting a password and applying a hashing?

1164


Which namespace is used to support multithearding in .NET?

1012


Is there any attempt system for microsoft technology papers?

1806


What is the concept of inheritance in .net?

1171


Please explain is the jit an interpreter?

1168


Please explain what is the .net framework and how does it work?

969


Explain attributes in dot net?

1060


Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?

913