Computer Science, asked by vinayrockzz2479, 1 year ago

Which is valid declaration of a float? Float f = 1f; float f = 1.0; float f = "1"; float f = 1.0d;?

Answers

Answered by OLegion
0

Answer:

float f=1.0;

The predefined data types does not include capital letters.

also You cant assign variables or characters to floating point data types.

Hope it helps..

Regards;

Leukonov/Olegion

Similar questions