Technoarch interview question

Oops concepts