Back To Java Flow of Control Index
//program to demonstrate if statement example 6 , check whether number is not equal to 10 public class ifexample6 { public static void main(String[] args) { int a; a=9; if(a!=10) { System.out.println("a is not equal to 10"); } } }