Capgemini Interview Question

Normal basic oops concepts