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

t name of controls, which are displayed same in all browers?

1 Answers   TCS,


If I return out of a try/finally in c#, does the code in the finally-clause run?

0 Answers  


What is #region in c#?

0 Answers  


What is a verbatim string literal and why do we use it?

0 Answers  


What is default boolean value in c#?

0 Answers  


What is architecture of your poroject? how i c an say?

2 Answers   Eminosoft, HCL, Phoenix Technologies,


How do you inherit from a class in C#?

1 Answers  


What is the reason behind the invention of c#?

0 Answers  


Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio ?

1 Answers  


Describe the ways of cleaning up objects in c#.

0 Answers  


what is boxing and unboxing?can we initialize unboxing directly?

0 Answers   EDS,


What is wpf c#?

0 Answers  


Categories