Skip to content
Sharp

Spring Core · interview question

Which scope of beans in a Spring application context is the default in Java?

Multiple choiceMediumchapter-9-curatedpremiumspring-coreapplication-properties
Choose one answer
Answer and explanation

Correct answer

C. Singleton

Why

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

Test yourself on Spring Core

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

Start free test
All Spring Core questions →