why does it select the function with float instead of double?????
public class Test
{
void show(double a)
{
System.out.println("Inside double");
}
void show(float f)
{
System.out.println("Inside float");
}
public static void main(String[] args)
{
Test t=new Test();
t.show(4); //4.0 is an int value
}
}

