Methods can accept an arbitrary number of arguments, using the ... or 'varargs' declaration.
I usually declare my main method like this:
For the method itself, it doesn't really change a lot.
String... means the exact same thing as String[]. You use both as an array.
The difference however, is in how these methods are called.
A method with an array (String[]) as a parameter, can only be called by using an array as an argument. A method with varargs as a parameter, can be called using an array as an argument, but instead of doing that, you can also pass a comma separated list of arguments, that fit in the array. Here is an example:
Note that you can only use one varargs parameter in a method declaration, and it has to be the very last parameter.
As for the API, you'll probably want this one:
http://download.oracle.com/javase/6/docs/api/