Java multiple arguments dot notation - Varargs

Yes, that is how it works. The arguments are automatically put into an array. The argument "urls" behaves like a URL[]. Varargs are documented here. They were introduced in Java 1.5, so, are available in J2SE 1.5+, and all of Android since it supports Java 1.5+ language features. No version of JavaME/J2ME supports it.


The syntax was introduced in Java 5 and is called varargs:

http://download.oracle.com/javase/1,5.0/docs/guide/language/varargs.html