What is the difference between variable arity and vararg methods?
Created May 8, 2012
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[]
.