Using varargs as a parameter for a method definition, it is possible to pass either an array or a sequence of arguments. If a sequence of arguments are passed, they are converted into an array automatically.
This example shows both an array and a sequence of arguments being passed into the printVar...