thenewboston

Java Programming Tutorial - 10 - If Statement

Aug 22nd, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1. public class apples{
  2.    public static void main(String args[]){
  3.       int test = 6;
  4.      
  5.       if (test == 9){  
  6.          System.out.println("Yes");
  7.       }else{
  8.          System.out.println("This is else");  
  9.       }
  10.    }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment