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