/**
 * Illustrate using command line arguments
 * @author Suzanne Balik, 19 Apr 2003
 */
public class CommandLineArguments {

  public static void main (String[] args) {
  
    System.out.println("Number of arguments: " +
                       args.length);
		       
    for (int i = 0; i < args.length; i++)
      System.out.println(args[i]);
      
  }
}
/* PROGRAM OUTPUT: 
eos% java CommandLineArguments apple ball cat
Number of arguments: 3
apple
ball
cat
eos% java CommandLineArguments *.html
Number of arguments: 17
2Darrays.html
AdditionTable.html
Array.html
arrays.html
ArraysOfReferences.html
BankAccount.html
CD.html
CDList.html
ExpandableArray.html
lecture.html
lists.html
moreArrays.html
Numbers.html
OrderedNumbers.html
Temperature.html
TwoDimArray.html
WeeklyGroceryList.html
*/