suppose a class has private data members but the setters and getters are in public scope. If you inherit from this class, you can still call those setters and getters -- ena
A derived class doesn't inherit access to private data members. However, it does inherit a full parent object, which contains any private members which that class declares.