Skip to content
Sharp

Spring Core · interview question

Which scope of a bean in Spring is the default in Java?

Multiple choiceEasychapter-9-curatedpremiumspring-corepersistence-and-validation
Choose one answer
Answer and explanation

Correct answer

D. Singleton

Why

The default scope for a Spring bean is singleton, meaning a single instance of the bean is created and shared across the entire application context.

Test yourself on Spring Core

A free test with instant, explained results. No account needed.

Start free test
All Spring Core questions →