HCLTech Interview Question

oop concept