import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; /** Display command line arguments. @author Greg Vogl 2003-09-21 */ public class CommandLine { /** Display command line arguments. @throws IOException to handle bad strings */ public static void main (String[] args) throws IOException { System.out.println("Command-line arguments:" + args.length); for (int i=0; i