Question d’entretien chez Capgemini

DI vs IOC in Spring

Réponse à la question d'entretien

Utilisateur anonyme

26 juin 2020

DI is simply injecting dependency between class and IOC is a principle based on which you give this task to the available framework. In case of Spring, it is done my IOC container. This container take care of objects from creation till destruction.