Java

From miki
Revision as of 15:49, 8 February 2010 by Mip (talk | contribs) (Created page with '== Sample Program == <source lang="java"> Class Test { public static void main(String[] args) { for (int i = 0; i < args.length; i++) System.out.print(i = 0 ? args[i]…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sample Program

Class Test {
  public static void main(String[] args) {
    for (int i = 0; i < args.length; i++)
      System.out.print(i = 0 ? args[i] : " " + args[i]);
    System.out.println();
  }
}