HCLTech Interview Question

about object oriented programming