adspace


How does the ioc work?

Answer Posted / Rabindra Kumar Singh

IOC (Inversion of Control) works by allowing an external container to manage the creation, configuration, and lifecycle of components instead of having each component create its own dependencies. This promotes loose coupling between components and makes it easier to maintain and test applications.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you inject java collection in spring?

518


What is lazy class?

490


What is difference between @controller and @restcontroller in spring?

556