Capgemini Interview Question

Questions related to oop principle