Kizspy | Question: 17 (Choose 1 answer)
What is the output of the following code snippet?
public class Main{
static void m1(Integer i){System.out.println(1);
}
static void m1(Double d){System.out.println(2);
}
static void m1(Object o){System.out.println(3);}
public static void main(String[] args)
{
}
m1(12.5);
FUOV
}
A. 2
B. 3
C. 1
D. 12.5