HCLTech interview question

Basics on OOPS Automation round Basic testing Q