1:/** Class that demonstrates Java's command line arguments
   2:*/
   3:
   4:public class CmdLineArgs{
   5:    public static void main(String[] args){
   6:        System.out.println("The following command line arguments were passed:");
   7:        
   8:        for (int i=0; i < args.length; i++){
   9:            System.out.println("arg[" + i + "]: " + args[i]);
  10:        }
  11:    }
  12:}