HCLTech interview question

OOPS concepts