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...

Are private class-level variables inherited?

Answer Posted / duc nguyen

according to "http://www.velocityreviews.com/forums/t130343-question-about-inheritance-of-private-variables.html"

"According to the Java Language Specification, the definition of "inherited"
is such that the data member is available by subclasses. Using this
definition, private members are not inherited, HOWEVER, they are 'there',
that is, instances of the subclass contains the data that is held by the
private member - it is just not exposed by the superclass"

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between field and variable in c#?

1067


What is the difference between dataset and datatable in c#?

1097


What is nameof c#?

947


Explain about ODP.net

1291


Can struct inherit from class c#?

1033


Is arraylist generic in c#?

930


What are generic types?

991


What is list array in c#?

930


Is c# or c++ better for games?

900


What is public or shared assemblies ?

1064


What is get set in c#?

1016


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

1113


Can properties be private in c#?

950


How many types of namespaces available in version4?

994


Can abstract class have constructor?

921