What is dependency injection and how does it work?

Report
Question
6 views

Please explain why do you think this question should be reported?

Report Cancel

Dependency Injection (DI) is a software design pattern that implements inversion of control for resolving dependencies. An injection is the passing of a dependency to a dependent object that would use it. DI is a process whereby objects define their dependency.

Please follow and like us:

About the Author