HCLTech interview question

OOPS concepts and basic of java