Varargs method invocation

Report a typo

You are given a method with the following declaration:

public static int method(int[] array, int... vararg) { return 1; }

Select all correct ways to invoke this method.

Select one or more options from the list
___

Create a free account to access the full topic