Skip to content
Sharp

Spring Core · interview question

Which Spring feature allows for automatic dependency injection?

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

Correct answer

D. Inversion of Control (IoC)

Why

Spring's IoC container is responsible for dependency injection, automatically injecting dependencies into beans at runtime.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →