The following is valid :-
public void foo (int token,
String ... strs) {}
however the next line is not.. why not...?
public void foo (String ... strs, int token) {}.. The compiler just reports "; expected at line ". The variable strs is treated as an array anyways and can hold zero or more arguments. So this syntax should be valid too....
any comments....