vendredi 25 janvier 2019

Method.invoke what parameter it can take?

I have the method name in string which has to be invoked dynamically. Method name.invoke(object,parameters) In the above format what should the object be? Should it be always creater by createNewInstance method? How can I use an already constructed object instead of it?





Aucun commentaire:

Enregistrer un commentaire