Infosys interview question

Explain oops concepts Explain middleware and dependency injection