public class ConstructorOverloading {
public ConstructorOverloading(){
System.out.println("default");
}
public ConstructorOverloading(String a){
System.out.println("a");
}
public ConstructorOverloading(int a){
System.out.println("1");
}
public ConstructorOverloading(String a, int ab){
System.out.println("a, 1");
}
public ConstructorOverloading(String ac, int a, int ab){
System.out.println("a 1, 1");
}
public static void main(String args[]) {
ConstructorOverloading obj = new ConstructorOverloading("test", 2);
}
}