Varargs is the feature that allows a method to accept variable number of parameters. The JLS (Java Language Specification) calls it a Variable Arity Method; I guess they are called varargs because ...
This article wraps up my three-part focus on new features introduced in JDK 5, this time looking at a number of features that have improved the overall productivity of coding in Java. Keep reading to ...