Difference between poly morph-ism and inheritance?
Anonym
Inheritance in C++ takes place between classes. In an inheritance (is-a) relationship, the class being inherited from is called the parent class, base class, or super class, and the class doing the inheriting is called the child class, derived class, or subclass. poly morph-ism occurs when there is a hierarchy of classes and they are related by inheritance.