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 / jiten

public members r available all classs
private members r available only within class
protcted members r available drive classs
protected friend members r availble in drived classs and
all classs whitch r in same assambly
friend memebers r available for all classs witch in same
assambly

Is This Answer Correct ?    13 Yes 1 No

Post New Answer

More C Sharp Interview Questions

what is an exception in .net?

0 Answers  


What are the advantages of using c#?

0 Answers  


How do you generate documentation from the C# file commented properly with a command-line compiler?

1 Answers  


What do you mean by saying a "class is a reference type"?

0 Answers  


What is desktop example?

0 Answers  


What language is arduino?

0 Answers  


Constructor to an arbitrary base constructor?

0 Answers  


What is the use of giving more than one CATCH BLOCK in one TRY block? Directly we can give that catch(Exception e)?Why we go for arrayoutofbound Exception,divided by zero etc..? Explain

2 Answers  


How do you pass reference parameters in c#?

0 Answers  


What is the difference between abstraction and encapsulation in c#?

0 Answers  


What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.

2 Answers   Siemens, Syntel,


Can you inherit multiple interfaces?

3 Answers  


Categories