java is not able to call any overload method as shown below :-
class LspTest{ public void add(int a, float b){ System.out.println(\"First add\"); }
There is an ambiguity here, and the Java compiler cannot figure out which method to call. Use test.add((float) 1, 1) or test.add(1, (float) 1) to explicitly tell which method you want.
test.add((float) 1, 1)
test.add(1, (float) 1)