Question: what kind of relationship exists between inherited class and base class?
Answer: There exists a hierarchy relationship between classes. ✍️Inheritance (is-a) relationships are derived child classes that inherit attributes and methods from their parent class. Composition (has-a) relationships are classes whose attributes are comprised of other classes.