mardi 28 juin 2016

Call a method by reflection in java

I want to call a method which is given to me as a string: "methodnam" and i know it's class name Aclass.

I have object(ObInp) as an input to the method and an object(ObOut) which will be the output.

I am not getting how i will call this method by reflection. I got many links related to this but i am not able to solve this.





Aucun commentaire:

Enregistrer un commentaire