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 ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create a new form in c#?

931


To whom a method is accesssed if it is marked as protected internal ?

1032


Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?

919


Which is faster hashtable or dictionary?

924


What is concrete method in c#?

876


What are the different types of delegation?

838


What is the difference between static class and abstract class in c#?

882


What is xaml in c#?

892


What is the implicit name of the parameter that gets passed into the set method/property of a class?

884


When should we use delegates in c#?

877


What is a nullreferenceexception and how do I fix it?

981


What does private void mean in c#?

1011


Is string a class in c#?

812


What are the benefits of using generics in c#?

869


Why is static constructor called first?

859