This is a Java 5 notation for variable length argument lists. This is roughly equivalent to a String array, but allows you to pass individual parameters that are automatically combined into an array.
void mymethod(String... a) { for (String s : a) { ... } } mymethod("quick", "brown", "fox");
This only makes sense when you plan to call a method from your program, so I donβt understand why it would be advisable to use this syntax for your main (). However, it will work.
source share