Computer Science, asked by Aadill5687, 10 months ago

5. What are the types injections which one is better spring

Answers

Answered by Anonymous
4

Answer:

Setter injection in Spring uses setter methods like setDependency() to inject dependency on any bean managed by Spring's IOC container. On the other hand constructor injection uses constructor to inject dependency on any Spring-managed bean.

Similar questions