First Program Using If Statement Program In Java

// If Statement
class IfStatement
{
public static void main(String[] args) 
{
int x=15;
if(x<20)
{
System.out.println("This is If Statement..");
}
}
}
Output:-
This is If Statement..



Previous                                   Next

No comments:

Post a Comment