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 interface and multiple interface?

1059


What namespace is list in c#?

912


What is the difference between CONST and READONLY?

1066


Which of the following API is used to hide a window?

1023


Explain 'structure padding'?

1125


What do you mean by stack and heap in c#?

912


What is Named parameter in C#?

984


What is lastindexof c#?

852


What is the difference between dll and lib?

979


What is returned if you pass the value 12.34 to the parsefloat () function?

949


What is the difference between static class and sealed class in c#?

922


What are the types of access modifiers?

909


Why ref is used in c#?

884


List down the reason behind the usage of c# language.

1296


What is the use of protected in c#?

937