Advertisement
calcpage

APCS_SHORTS_Hello2.java

Oct 4th, 2013
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.41 KB | None | 0 0
  1. /*
  2. Hello2.java MrG 2013.0927
  3. purpose:    practice with basic IO
  4. required:   Hello2.java     main class
  5. translator: javac Hello2.java
  6. interpreter:    java Hello2 NAME
  7. */
  8.  
  9. public class Hello2
  10. {
  11.     public static void main(String[] args)
  12.     {
  13.         //command line input
  14.         System.out.println("Hello, " + args[0] + ", how about a nice game of chess?");
  15.     }
  16. }
  17.  
  18. //ssh
  19. //ftp
  20. //http
  21. //html
  22. //mkdir
  23. //cd
  24. //ls
  25. //passwd
  26. //which
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement