dcsimg

What is the difference between variable arity and vararg methods?

John Zukowski

Basically nothing. It is just semantics. A method's arity is the number of arguments it takes. The arity of the main() method of a class is one since it takes one argument, a String[].