5.5is double, but none of your functions accept an argument double. Thus, the compiler gets confused whether to call a function with a parameter intor a function with a parameter float. So, you get an error message that is ambiguous.
, double, , , double, , , .
,
obj.add(5.5f);
f .
++
ยง 2.13.4
1 , , , e E, . ( ) . . [ : 1.602176565e-19 1.602176565e-19 . -end example] , ( ) ; , e ( E) ( ) . , . , , 10, . , , , , . literal - double, . f F float, l L double. , .
( , float )