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

What is the default scope of a Spring bean?

What is the default scope of a Spring bean?

  1. A.singleton
  2. B.prototype
  3. C.request
  4. D.session
Answer & explanation

Correct answer: singleton

One shared instance per container.

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 →