/** Class that demonstrates Java's command line arguments */ public class CmdLineArgs{ public static void main(String[] args){ System.out.println("The following command line arguments were passed:"); for (int i=0; i < args.length; i++){ System.out.println("arg[" + i + "]: " + args[i]); } } }