Declaractions1129 - Java Quiz Question


Which is valid declaration of a float?


A
float f = 1F;
B
float f = 1.0d;
C
float f = "1";
D
float f = 1.0;
E
None of the above