What is Dependency Injection?

Posted Posted in Spring, Spring Core

Dependency Injection: It’s a design pattern in which we pass an¬†object as an argument to a method or constructor of a class at run-time, rather than creating the object inside the constructor or method of a class, hence making our code loosely coupled. Note For Beginers: Don’t worry if you didn’t understand the above description, […]