program for IF condition

public class IfExample 


public static void main(String[] args)

 { 
    int age=20; 
    if(age>18)


        System.out.print("Age is greater than 18"); 
    } 

}  

Comments