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

What sort algorithm does c# use?

898


Can we override main method in c#?

962


What is the difference between ref and out parameters in c#?

997


What are boxing and unboxing?

910


How do you escape a character?

941


Give examples for reference types?

983


Is ram a heap?

915


Are arraylist faster or arrays?

962


What is parallel foreach c#?

941


What is difference between var dynamic and object in c#?

938


What is c-sharp (c#)?

943


What is lazy loading and eager loading in c#?

915


What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?

971


What is monitor in C#?

1007


How do I create a new form in c#?

984