Frage im Vorstellungsgespräch bei Capgemini

DI vs IOC in Spring

Antwort im Vorstellungsgespräch

Anonym

26. Juni 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.