What do you understand by dependency injection?



What do you understand by dependency injection?..

Answer / Daksh Pratap Singh

Dependency Injection is a design pattern that allows objects to be created with their dependencies provided from an external source, instead of creating them internally. This promotes loose coupling and improves modularity.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

Which injection is better in spring?

1 Answers  


What is meta annotation?

1 Answers  


What is @controller in spring boot?

1 Answers  


What is jprofiler used for?

1 Answers  


What are the different features of the spring framework?

1 Answers  


What is spring boot starter jdbc? : Spring Boot

1 Answers  


What is oem odm?

1 Answers  


What is a model in spring boot? : Spring Boot

1 Answers  


Explain bean lifecycle in spring framework?

1 Answers  


What is idref in spring?

1 Answers  


What is the flow of spring boot? : Spring Boot

1 Answers  


How can beans be made singleton or prototype?

1 Answers  


Categories