public class aman { void m(double a , int b, int c) { System.out.println(\"second\"); } void m(float a , int b, double c) { System.out.pr
It is ambigous because you are calling it with three Integer literals.
Integer
You have to use either:
obj.m(23d, 12, 1);
or
obj.m(23, 12, 1f);
to bring out wich argument is wanted as is and wich arguement can be casted.