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
What are the commonly used i/o classes?
Why do we need dependency injection in c#?
Can we set image Source dynamically using C# in WPF application?
What is dataset c#?
What is difference between event and delegate in c#?
What does protected internal access modifier mean?
if you do have a stack overflow profile.what is your ranking?
Define satellite Assembly in .NET?
What does out mean in c#?
Is int a struct in c#?
What is the difference between ienumerable and enumerable?
How to declare a property in a class?
Differentiate between object pooling and connection pooling in c#?
What is an assembly qualified name
Illustrate serialization?