Objects and Collections on Java related Questions and Answers


Question :   Which is valid declaration of a float?
1. float f = 1F;
2. float f = 1.0;
3. "float f = "1";
4. float f = 1.0d;
Answer :   1 - float f = 1F;  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter