Advertisement
Guest User

Java Sample Program

a guest
Oct 9th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement