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

What is a cs file?

0 Answers  


Which type of variables are under the control of garbage collector?

4 Answers   Kanbay,


What is the difference between add and addrange in c#?

0 Answers  


How is a string immutable?

0 Answers  


What is lazy class in c#?

0 Answers  


What is difference between a function and a method?

0 Answers  


What does namespace mean?

0 Answers  


Are c and c# the same thing?

0 Answers  


Is python easier than c#?

0 Answers  


What are the Features in .net framework 1.1

0 Answers   Digital GlobalSoft,


Can structs in c# have destructors?

0 Answers  


What is Covariance and contravariance in C#?

0 Answers   HCL,


Categories