Capgemini Interview Question

Basic oops concepts?