3
Reply

What is IOC and DI?

Ashraf Wani

Ashraf Wani

9y
1.8k
0
Reply

    http://javarevisited.blogspot.in/2012/12/inversion-of-control-dependency-injection-design-pattern-spring-example-tutorial.html

    Inversion of control,it is a container that holds the objects and DI is a dependencey injection whereas we can remove the one object dependency of others. we are creating a loosely couple with objects by the DI.we can implement through the Interfaces. DI can be inject on during Property creation and constructor creation.

    IOC (Inversion of Control) and DI (Dependency Injection) is a design pattern to provide loose coupling. It removes the dependency from the program.