← Quiz: Spring Core and DI: all 10 questions
Quiz: Spring Core and DI · Question 1 of 10
What does "Inversion of Control" mean in Spring?
What does "Inversion of Control" mean in Spring?
- A.The database controls the application
- B.The container, not your code, creates objects and wires their dependencies
- C.Methods are called in reverse order
- D.Controllers call services in a loop
Answer & explanation
Correct answer: The container, not your code, creates objects and wires their dependencies
Your classes declare needs; Spring supplies them.
Can you get the rest right without peeking?
Take the timed Quiz: Spring Core and DI quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →