Spring Boot - Inversion of Control and Dependency Injection
Given this Spring Boot code snippet, what will be printed when the application runs?
@Component class A { public A() { System.out.println("A created"); } }
@Component class B { public B(A a) { System.out.println("B created with " + a); } }