Skip to content
Sharp

Spring Core · interview question

Which of the following scopes is NOT a valid Spring bean scope?

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

Correct answer

A. Thread

Why

Spring defines several bean scopes such as singleton, prototype, request, and session. However, 'thread' is not a recognized Spring bean scope.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →