title: Will sub classes contain private methods and member variables from super classes in the background?
body: <p>I have read this post: <a href="https://stackoverflow.com/questions/4716040/do-subclasses-inherit-private-fields">Do subclasses inherit private fields?</a> and I think inheritance is matter of if the sub class can access the data or not, not sure though, but is it true that indirectly or internally the sub class object will be still having the private member variables and private methods from its super class because without them a sub class instance cannot be made through a sub class and super class relationship? I guess this depends on how inheritance is defined?</p>