Can you think of ways to call this method?

sum(8);sum(8, 1, 5);int s = sum();sum("8", "1", "5");

Well done! Methods treat a variable number of parameters like an array, no matter how many arguments we provide (yup, that includes zero).

Whoops! Methods treat a variable number of parameters like an array, no matter how many arguments we provide (yup, that includes zero).