Thursday, 6 September 2012

Assume that the value 3929.92 is of type ‘float’. How to assign this value after declaring the variable ‘interest’ of type float? | Java Springs

A.     interest = 3929.92
B.     interest = (Float)3929.92
C.     interest = 3929.92 (float)
D.     interest = 3929.92f

Ans: D


No comments: