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 is default access specifier for class in c#?

1022


What is difference between virtual and override in c#?

876


Why do we use overloading in c#?

994


What is difference between ilist and list?

904


Define acid rule of thumb for transactions in c#.

897


What are the steps to create an assembly and add it to the gac?

889


Explain streamreader/streamwriter class?

996


What are the benefits of using the aggregate method in linq?

1012


Why is it not a good idea to use empty destructors?

1047


What is method in c#?

895


Why do canadians say zed?

1016


Does main have to be static c#?

1084


how to stored and retrive video in Sql server using asp.net c#......?

997


How do namespaces work?

972


what is a static constructor?

1224