1 public class FloatOp {2 3 public static void main(String [] args){4 System.out.println(-0.0f);5 System.out.println((""+ Float.NEGATIVE_INFINITY) + -0.0f);6 float f = -0.0f + 0.0f;7 String s = "" + f;8 run(s);9 float y = f + 0;10 }11 12 public static void run(String s){13 System.out.println(s);14 }15 }16