Capgemini Interview Question

they asked me about oops concept