Compare two int value in if statement
public class ifelse { public static void main(String[] args) { int a = 4;/*from w ww . ja v a2 s . c om*/ int b = 5; if (a == b) System.out.println("Another line Wow!"); else System.out.println("Double rainbow!"); } }