Real quick, the String[] args part of main means to pass in an 'array of strings'. See
About's Java Array Tutorial for a better explanation of arrays than I could give. Read the tutorial (it is vital to understand arrays in Java), then come back to this post.
By allowing an array of strings to be passed from the commandline, Java allows for 'arguments' to be passed. For example:
java MyArgumentExample jason fox
passes the Strings "jason" and "fox" to my java program, to do with as I please. Quick example in action:
If run with the command ' java Example word' will print 'word', or whatever else you pass as an argument.
[ September 28, 2004: Message edited by: Jason Fox ]