Capgemini Interview Question

Basic concept of Oops