Multiple choice technology web technology

Identify which DI Spring supports

  1. Setter Injection

  2. Method Injection

  3. Constructor injection

  4. Interface Injection

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

Spring supports two main types of dependency injection: Setter Injection (A) and Constructor Injection (C). Method Injection (B) and Interface Injection (D) are not standard DI types in Spring. Spring's IoC container primarily uses setter and constructor injection patterns.