🎙 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 6 of 10

What is a "bean" in Spring?

What is a "bean" in Spring?

  1. A.Any Java class in the project
  2. B.A JSON object returned by a controller
  3. C.An object created and managed by the Spring IoC container
  4. D.A Maven dependency
Answer & explanation

Correct answer: An object created and managed by the Spring IoC container

Beans are the objects the container creates, wires together and manages.

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 →