Interviews3 answers
What is IOC and DI?
3 Answers
http://javarevisited.blogspot.in/2012/12/inversion-of-control-dependency-injection-design-pattern-spring-example-tutorial.html
Munesh SharmaPosted Jun 19, 2015, 8:06 AM EDT
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.
manoj kumarPosted Mar 16, 2015, 10:26 PM EDT
IOC (Inversion of Control) and DI (Dependency Injection) is a design pattern to provide loose coupling. It removes the dependency from the program.
Ashraf WaniPosted Dec 23, 2014, 11:25 PM EST

