Java - Dump arguments passed in.

Description

Dump arguments passed in.

Demo

public class DumpArgs {
  /**/*  w  w w .j a v  a 2  s.c  o  m*/
   * Main entry point.
   *
   * @param args command line arguments
   */
  public static void main(String[] args) {
    System.out.println("Args:");

    for(int i = 0; i < args.length; i++) {
      System.out.println(args[i]);
    }
  }
}

Related Topic