A Admin • 831.35K Points Coach Q. Which of the following is the correct way to declare a float variable? (A) float f = 5.0; (B) float f = '5.0'; (C) float f = 5.0f; (D) float f = "5.0"; Correct Answer - Option(C) Views: 13 Filed under category Java Hashtags: Java Data Types Share Manage Tags
Discusssion
Login to discuss.