Change program written with inheritance to composition

Printable View