← 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?
- A.singleton
- B.prototype
- C.request
- 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 →