// Short program to show the contents of the "args" String array. This program // only showed actual contents when we went into a terminal window and ran the // program in this way: // java ShowArgs these words become the args public class ShowArgs { public static void main(String[] args) { System.out.println("args length = " + args.length); for (int i = 0; i < args.length; i++) { System.out.println("args[" + i + "] = " + args[i]); } System.out.println(); } }