Capgemini Interview Question

Asked basic OOPS concepts in the technical round