EGYM Interview Question

Inheritance versus composition