public class Venus {
public static void main(String[] args) {
int [] x = {1,2,3};
int y[] = {4,5,6};
new Venus().go(x,y);
}
void go(int[]... z) {
/*
*here where my doubt goes about how the "..." operator works
*/
for(int[] a : z)
System.out.print(a[0]);
}
}
output of this code snippet is "14"