HCLTech interview question

Basically OOP Concepts and SQL