HCLTech interview question

about object oriented programming