Question: what is the difference between inheritance and containment?
Answer: Difference between Inheritance and Containership: Inheritance is the ability for a class to inherit properties and behavior from a parent class by extending it, while Containership is the ability of a class to contain objects of different classes as member data.