public void test(int... integers, String str) { // error
...
}
Error:
The variable argument type int of the method test must be the last parameter.
public void test(String str, int... integers) {}
It works well. Is there any reason for this?