Skip to content
Sharp

Spring Core · interview question

What benefit does Spring Boot’s auto-configuration provide over traditional Spring configuration?

Multiple choiceMediumchapter-9-curatedpremiumspring-coreinversion-of-control-ioc
Choose one answer
Answer and explanation

Correct answer

B. It simplifies setup by automatically configuring beans based on dependencies.

Why

Spring Boot's auto-configuration simplifies the setup process by automatically configuring beans based on the presence of certain classes in the classpath. This eliminates the need for manual configuration, allowing developers to focus more on business logic.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →