Do subclasses inherit private fields?
Most of the confusion in the question/answers here surrounds the definition of Inheritance. Obviously, as @DigitalRoss explains an OBJECT of a subclass must contain its superclass’s private fields. As he states, having no access to a private member doesn’t mean its not there. However. This is different than the notion of inheritance for a class. … Read more