Ambiguity Regarding Spring Constructor Injection
问题 why am i able to see First Constructor even if i specified the type can anyone please explain me what is happening behind the scene... since i don't want to specify the index positions i need to call second constructor based on the type. public class Employee { String name; int id; public Employee(String name,int id) { System.out.println("First Constrcuot "); } public Employee(int id,String name){ System.out.println("Second Constrcuot "); } } I have My Beans.xml as follows: <bean id="employee