/** * print a message consisting of the first * command-line argument to standard output * * @author Sharon Tuttle * @version 2015-01-23 */ public class ShowArg { /** * print its first command-line argument * to standard output on its own line * * @param args 1st command-line argument to * be printed to standard output */ public static void main(String args[]) { if (args.length != 0) { System.out.println(args[0]); } else { System.out.println("WHERE IS MY " + "ARGUMENT?!!!!!"); } } }