mardi 9 juin 2015

Java: Arguments to Object[]

Is it possible to do this:

void foo(Bar b, FooBar fb){
    Object[] args=getArgs() //Contains the arguments b & fb
}

And if yes, how?

(I dont know the name and the number of arguments)





Aucun commentaire:

Enregistrer un commentaire