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 / javed khan

No, We cant inherit private member of base class. We got
error like " member is inaccessible due to its protection
level."

Is This Answer Correct ?    7 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between string and stringbuilder in c#?

920


Does c# support try-catch-finally blocks?

834


How to add a readonly property in c#.net

899


What is the difference between system.text.stringbuilder and system.string?

982


What is the difference between structure and class in c#?

920


What is the use of list in c#?

822


How are Windows programs different from normal C-programs?

2163


What is ienumerable <> in c#?

857


What is lock statement in C#?

974


Explain the differences between static, void and public in c#?

979


How do you sort an array in c#?

943


Explain the difference between const and static read-only?

953


Explain the difference between object type and dynamic type variables in c#?

901


What is difference between encapsulation and abstraction in c#?

927


What is data annotation in c#?

889