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

Can int be null c#?

0 Answers  


Are structs value types c#?

0 Answers  


What is difference between assembly and dll?

0 Answers  


What is sqlconnection in c#?

0 Answers  


what is .NET framework architecture ??

0 Answers   IIT, Impetus,


What is data bind in c#?

0 Answers  


Explain what is the smallest unit of execution in .net?

0 Answers  


Is a valid int value?

0 Answers  


What is the Difference between directcast and ctype?

1 Answers   Wipro,


Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

0 Answers  


What is method overriding in c#

0 Answers  


What kind of the information stored inside the assembly?

0 Answers   CitiusTech,


Categories