Friday, 5 September 2014

program for simple if condition, only print the vale grater then or not, simpe exsample for if condition, example for if condtion

Program of simple If Condition 

 
class Condition {
  public static void main(String[] args) {
    boolean learning = true;
 
    if (learning) {
      System.out.println("Java programmer");
    }
    else {
      System.out.println("What are you doing here?");
    }
  }
}

0 comments:

Post a Comment

 
Copyright © . StackOverflow - Posts · Comments
· Powered by Sanjay Chauhan