Home » Unlabelled » Write about private inheritance. | C++
Tuesday, 17 April 2012
Write about private inheritance. | C++
When you use private inheritance, the public and protected members of the base class become private members of the derived class. In fact, private inheritance implements a has-a relationship more than a is-a relationship.
No comments:
Post a Comment