/** * Command line arguments are used to supply information to a program * when it first starts running (e.g. the name of a file to be processed) * * All arguments passed to the program at the command line * are stored inside of the array named "args" * * This program prints any command line arguments that are passed * to the program. * * @author alchambers * @version sp17 */ public class CommandLineArgs{ public static void main(String[] args){ System.out.println("The command line arguments are:"); for(int i = 0; i < args.length; i++){ System.out.println(args[i]); } } }