What are the types of dependency injection supported by spring?



What are the types of dependency injection supported by spring?..

Answer / Gyan Singh

Spring supports three types of Dependency Injection: Constructor Injection, Setter Injection, and Field Injection.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is root war?

1 Answers  


In how many ways can dependency injection be done?

1 Answers  


What is a dto in spring?

1 Answers  


What do you mean by spring beans? What does bean scopes spring support? Explain each.

1 Answers  


Is spring mvc a design pattern?

1 Answers  


What is meta annotation?

1 Answers  


What are the different types of autoproxying?

1 Answers  


Tell us about spring security.

1 Answers  


How would you relate spring mvc framework to mvc architecture?

1 Answers  


Does spring framework support all joinpoints?

1 Answers  


What is entitymanagerfactory?

1 Answers  


What is difference between @controller and @restcontroller in spring boot? : Spring Boot

1 Answers  


Categories