What do you understand as dependency injection (di)?



What do you understand as dependency injection (di)?..

Answer / Harshita Gupta

Dependency Injection is a design pattern in software engineering where one object receives other objects that it depends upon, instead of creating them itself.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is spring boot devtools? : Spring Boot

1 Answers  


Does spring boot need web xml? : Spring Boot

1 Answers  


How configuration metadata is provided to the spring container?

1 Answers  


What does a spring bean definition contain?

1 Answers  


What is difference between @autowired and @resource in spring?

1 Answers  


Why should I use dependency injection?

1 Answers  


What is aop in spring with example?

1 Answers  


What is the function of annotation @responsebody?

1 Answers  


How does spring mvc provide support for validation?

1 Answers  


What does loosely coupled mean?

1 Answers  


What is logback?

1 Answers  


What is handler method in spring?

1 Answers  


Categories