how jvm distinguish the float values

by jitendra
(hyderabad)



Which three are valid declarations of a float?

float f1 = -343;
float f2 = 3.14;
float f3 = 0x12345;
float f4 = 42e7;
float f5 = 2001.0D;
float f6 = 2.81F;
A. 1, 2, 4 B. 2, 3, 5
C.
1, 3, 6 @
D. 2, 4, 6
Answer: Option C

Click here to post comments

Join in and write your own page! It's easy to do. How? Simply click here to return to Oracle Questions.