Which three are valid declarations of a float?1. float f1 = -343;2. float f2 = 3.14;3. float f3 = 0x12345;4. float f4 = 42e7;5. float f5 = 2001.0D;6. float f6 = 2.81F; - Study24x7
Social learning Network
16 Feb 2023 03:21 PM study24x7 study24x7

Which three are valid declarations of a float?

1. float f1 = -343;
2. float f2 = 3.14;
3. float f3 = 0x12345;
4. float f4 = 42e7;
5. float f5 = 2001.0D;
6. float f6 = 2.81F;

A

1, 2, 4

B

2, 3, 5

C

1, 3, 6

D

2, 4, 6

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles