How can I do variable-length argument lists?

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.

About | Sitemap | Contact