Question: what is the difference between dependency injection and ioc in spring?
Answer: Inversion of Control (IoC) means that objects do not create other objects on which they rely to do their work. ... Dependency Injection (DI) means that this is done without the object intervention, usually by a framework component that passes constructor parameters and set properties.