🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.The database controls the application
  2. B.The container, not your code, creates objects and wires their dependencies
  3. C.Methods are called in reverse order
  4. 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 →