I would like to call a method which signature is
public void foo(Object object, Object ... objects) { }
and I call it like
Object[] objects = ...;
foo(objects);
as the compiler does'nt complain it seems valid, but
what happens with the first parameter in the signature? Is it objects[0]
Can anyone explain the Object ... objects parameter, what happens internal?
I can't change the method, it's from Method class.