Which one is TRUE about the program below? public class AmbiguousOverloading {
public static void main(String[] args) {
System.out.println(max(1, 2));
}
public static double max (int num, double num2) {
if (numl > num2)
return numl;
else
return num2;
nup2;
}
public static double max(double num1, int num2) {
if (numl > num2)
return num1;
else
return num2;
}