int x=10; if(++x < 10 && (x/0 > 10)){ System.out.println("Hi"); }else{ System.out.println("Hello"); }