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...


If we inherit a class do the private variables also get
inherited ?

Answers were Sorted based on User's Feedback



If we inherit a class do the private variables also get inherited ?..

Answer / rathika

It will be inherited but cannot be accessible.

Is This Answer Correct ?    12 Yes 1 No

If we inherit a class do the private variables also get inherited ?..

Answer / kishore.a

Private variables are not inherited. Access specifier
Private is mainly mean for the inheritance concept so that
derived classes cannot inherit the private members of base
class..

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More C Sharp Interview Questions

how to handle errors in sqlserver

1 Answers  


What does xpath return?

0 Answers  


How do you implement Inheritance in dot net ?

5 Answers   MMTS, Sea Energy,


What's new in c#?

0 Answers  


When should I throw an exception?

0 Answers  


Why can't we use a static class instead of singleton?

0 Answers  


What is difference between ilist and list in c#?

0 Answers  


What is the name of the implicit input parameter of a set accessor for any property?

1 Answers   TCS,


Are c# strings null terminated?

0 Answers  


What are strong name assemblies?

0 Answers   CitiusTech,


What is collection class c#?

0 Answers  


What are Uses of CLR

0 Answers   TCS,


Categories