Direction: Choose the correct option
Q1.
What is Dependency Injection?
Direction: Choose the correct option
Q2.
Which type of Dependency Injection is supported by Spring?
Direction: Choose the correct option
Q3.
What is Inversion of Control (IoC)?
Direction: Choose the correct option
Q4.
Which annotation is used for constructor injection in Spring?
Direction: Choose the correct option
Q5.
What is the advantage of constructor injection over field injection?
Direction: Choose the correct option
Q6.
Which Spring annotation is equivalent to @Inject from JSR-330?
Direction: Choose the correct option
Q7.
What does the @Qualifier annotation do?
Direction: Choose the correct option
Q8.
Which type of injection is most recommended by Spring team?
Direction: Choose the correct option
Q9.
What is the role of @Primary annotation?
Direction: Choose the correct option
Q10.
What happens if no qualifying bean is found for autowiring?
