Given: 1. class Voop { 2. public static void main(String [] args) { 3. doStuff(1); 4. doStuff(1, 2); 5. } 6. // insert code here 7. } Which, inserted independently at line 6, will compile? (Choose all that apply.)
static void doStuff(int... doArgs) { }
static void doStuff (int [] doArgs) { }
static void doStuff(int doArgs...) { }
static void doStuff(int... doArgs, int y) { }
static void doStuff(int x, int... doArgs) { }