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
Why do we use generics in c#?
What is a interface in c#?
What is a web service in c#?
What is .dbml file?
How the versioning applies to Assemblies or can you explain version numbers?
What does get set mean in c#?
How long does it take to get a loop recorder put in?
What is the difference between Static, Const and read only?
How do you implement thread synchronization in c#?
What is entity framework c#?
Is collection a data structure?
Why do I get a security exception when I try to run my c# app?
What is cosole application?
what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?
What is instantiating a class in c#?