Infosys interview question

Dependency injection, oops concepts, sql