1 public class Compare4 { 2 public static void main(String [] args) { 3 4 Compare4 c = new Compare4(); 5 c.run(); 6 } 7 8 private void run() { 9 int i = 9; 10 long l = 10; 11 double d = 0.98F; 12 13 float f = 19L; 14 if (l >= i) { 15 System.out.println(l); 16 } 17 else if (l < i) { 18 System.out.println(i); 19 } 20 21 22 long j = i + l; 23 float f2 = 0.978213F; 24 double d2 = 0.9; 25 26 if (d2 == f2) { 27 d2 += f2; 28 } 29 } 30 } 31 | Popular Tags |