Interview Detail

What problem does Dependency Injection solve?

Spring · Intermediate

Short Answer

It separates object creation from object usage, reducing coupling and improving testing.