java multiple choice question

  1. Which is valid declaration of a float?
    1. float f = 1F;
    2. float f = “1”;
    3. float f = 1.0d;
    4. float f = 1.0;

Ans a. (float f = 1F;)

  1. /* Missing Statement ? */

public class too

{

public static …