What is difference between ioc and dependency injection?



What is difference between ioc and dependency injection?..

Answer / Aman Parihar

Inversion of Control (IoC) is a design principle in software engineering that allows the control flow to be managed by an external source rather than within the code itself. Dependency Injection is a specific implementation of IoC, where dependencies are provided externally to objects that require them.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What namedparameterjdbctemplate in spring?

1 Answers  


What is the default autowiring mode?

1 Answers  


What is joinpoint?

1 Answers  


What is lazy connection?

1 Answers  


What is difference between java and spring?

1 Answers  


What is the latest spring version?

1 Answers  


What is @controller in spring boot? : Spring Boot

1 Answers  


What is the use of listener?

1 Answers  


What is a spring mvc?

1 Answers  


What is meant by dao? : Spring Boot

1 Answers  


What is session scope in spring?

1 Answers  


How do you secure an api?

1 Answers  


Categories