What is the output when calling printName("Juan", 19)
?
public static void printName(String name, int id) {
System.out.print(name + " ID: " + id);
}
public static void printName(int id) {
System.out.print("Name" + " ID: " + id);
}
public static void printName(String name, int id, int age) {
System.out.print(name + " ID: " + id + " age: " + age);
}