-
Suppose we want a method that performs some operation
on a collection of values.
-
We could get the caller of the method to store these values
in an array ...
-
and get that passed as an argument to the method.
-
However, suppose instead we want to write a method
that can handle any number of arguments.
-
This is possible in Java 5.