5. What are the types injections which one is better spring
Answers
Answered by
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
Math,
5 months ago
English,
5 months ago
Business Studies,
10 months ago
Biology,
1 year ago
History,
1 year ago