Relative Content

Tag Archive for javaoopinheritanceencapsulationmember

Private Fields in inheritance

I have a certain question that has been a bit difficult for me to understand regarding this topic. It happens that a subclass does not inherit the private attributes of a class. However, I can use methods to access them.