Varargs
April 2, 2014 Leave a comment
Is this confusing code ? I was stumped for a few seconds.
public class PassThreeValues {
static void calculateSomeThing(int one, int... values){}
public static void main( String... argv ){
calculateSomeThing(1,2,3);
}