How can I do variable-length argument lists?
Created May 14, 2012
John Mitchell
Well, there's no direct support for variable-length method argument lists in Java. However, you can simulate this yourself using whatever object container you prefer such as the ubiquitous java.util.Vector class or one of the newer collection classes.