+ 8
Qus:- What do you mean by Dependency Injection?Â
2 Answers
+ 3
Deepika Mourya
In software engineering, dependency injection is a technique whereby one object (or static method) supplies the dependencies of another object. Adependency is an object that can be used (a service). An injection is the passing of a dependency to a dependent object (a client) that woulduse it.
source:
https://en.m.wikipedia.org/wiki/Dependency_injection
I hope I was helpful
+ 1
dependency injection is concept java it means that make your code independent with the use of constructor and this keyword we can accomplish this task