If I try to write a method like below
public void someStuff(Object ... args, String a )
I get this error
The variable argument type Object of the method someStuff must be the last parameter.
I don't fully understand the requirement of variable argument type to be the last. Any inputs will be helpful.
See Question&Answers more detail:os