Capgemini Interview Question

Oops concepts