Pregunta de entrevista de Aristocrat

Diffrence between Inheritance and composition