Skip to content
Sharp

Spring Core · interview question

In Spring Boot, what is the default scope of a bean?

Multiple choiceEasychapter-9-curatedpremiumspring-coredtos-and-entities
Choose one answer
Answer and explanation

Correct answer

B. Singleton

Why

By default, Spring beans are singleton scoped, meaning that only one instance of the bean is created per Spring IoC container.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →