🔹 1. What is Spring IoC (Inversion of Control)?


Before learning @Configuration or @Bean, you need to understand what IoC means.




✅ Simple Explanation:


Normally, in Java, you create objects using new keyword, like:



Database db = new Database();






But in Spring, we don’t do that manually.

Instead, Spring creates and manages...