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 platform independence"?

996


What is a verbatim string literal and why do we use it?

1007


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

986


can you declare an override method to be static if the original method is not static?

1063


How the versioning applies to Assemblies or can you explain version numbers?

1078


Why is c# used?

976


What are reflections in c#?

946


what are pointer types in c#

1027


Why main method is static in c#?

1001


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

1022


What is difference between const and static in c#?

1037


What is the interface in c#?

994


What is the difference between icomparer and icomparable in c#?

994


What is instantiating a class in c#?

1103


How to use nullable types in .net?

1045