What is Dependency Injection?
What is it?
Dependency Injection is a technique where an object provides the dependencies of another object. The dependency is an object that can then be used. The injection is the passing of a dependency to an object that is dependent upon it.