For example, Java\'s own String.format() supports a variable number of arguments.
String.format()
String.format(\"Hello %s! ABC %d!\", \"World\", 123); //=>
This is just an extension to above provided answers.
Clearly explained here and rules to follow to use Variable Argument.