Guest User

Java Sample Program

a guest
Oct 9th, 2015
147
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Condition {
  2.     public static void main(String[] args) {
  3.         boolean learning = true;
  4.  
  5.         if (learning == true) {
  6.             System.out.println("Java programmer");
  7.         }
  8.         else {
  9.             System.out.println("What are you doing here?");
  10.         }
  11.     }
  12. }
RAW Paste Data