/* This program demonstrates how to access the command line parameters.
   The parameters are stored in the array of strings "args".
   The program can be called from the command prompt by entering
   java Param param_1 param_2 . . . param_m, where param_1 ... param_m
   are the parameters. The program will just print them out. The parameters
   can be used for further processing.
*/

class Param
{
  public static void main(String[] args)
  {
     System.out.println("Command line parameters:");
     for (int i=0; i<args.length; i++)     // printing the parameters
       System.out.println("Parameter " + i +":  " + args[i] + " ");
  }
}
