Henry Wong wrote:The other point that should be mentioned is that the main method is defined to take a string array -- which holds the command line parameters. It just so happens that using var-args works because var-args are implemented as arrays. Regardless, you should be not doing that -- assuming you mean the main method of the program that is.