'Dependency Injection Behind the scenes in Spring boot

I am curious about the dependency injection process in Spring, moreover I want to know what actually happens behind the scenes while the spring injects the dependency, how does he do it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source