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
English,
8 months ago
Science,
8 months ago
Business Studies,
1 year ago
Biology,
1 year ago
History,
1 year ago