SHARE
TWEET

Java Sample Program

a guest Oct 9th, 2015 134 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top