0
How Public inheritance works?
Okay I know that in public inheritance Everything is inherited as it is in the base class,but I don't understand if a base class private member is inherited by child class as its own private member then why child class member function can't access this private member ? P.S. I'm talking in context of Public inheritance
2 odpowiedzi