0 votes
in Spring by

Which of the following is NOT a type of Dependency Injection in Spring?

a) Constructor Injection

b) Setter Injection

c) Method Injection

d) Field Injection

1 Answer

0 votes
by
c) Method Injection

Explanation:

Spring primarily supports Constructor, Setter, and Field Injection. Method Injection has a different context in Spring and doesn't directly pertain to the DI as beginners understand it.
...