Showing posts with label simple program for if statement. Show all posts
Showing posts with label simple program for if statement. Show all posts

Saturday, 15 June 2013

program for if statement OR use of if statement in java

public class Test {

   public static void main(String args[]){
      int x = 10;

      if( x < 20 ){
         System.out.print("This is if statement");
      }
   }
}