When be class inherited by derived class privately by derived class privatevely then all the protected and public member of base clas become the private member of derived class
only derived class member function can access private member of inherited class
only derived class member function can access private member of inherited class
No comments:
Post a Comment