1 public class IfTest2 {2 3 public static void main(String [] args){4 int x = 9;5 if (x == 8) {6 x = x + 1;7 }8 }9 }10