I understand that both of these are valid and mean the exact same thing:
Preferred:
void foo(int[] bar){
// do something
}
Not preferred:
void foo(int bar[]){
// do something
}
What I don't understand is, following the same logic as above, why is this not valid?
void foo(int... bar[]){
// do something
}
But this is:
void foo(int[]... bar){
// do something
}