Skip to content
Sharp

Spring Core · interview question

Which of the following is NOT a benefit of using Spring's Dependency Injection?

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

Correct answer

D. Improved performance.

Why

While dependency injection promotes loose coupling, easier unit testing, and flexible configuration, it does not inherently improve performance. The primary goal is to manage dependencies more effectively, not to optimize speed.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →