hello ranchers,
Can anyone explain me how the following code is printing "float,float" when run?
class GFC215 {
static
String m(float i) {return "float";}
static String m(double i) {return "double";}
public static void main (String[] args) {
int a1 = 1; long b1 = 2; System.out.print(m(a1)+","+ m(b1));
}}
Thanks in advance