mercredi 8 janvier 2020

Can you use Java reflections to define and invoke a method at runtime?

I've only read a bit about reflections, so I really don't know much.

I'm looking to build a program (class task) where the user writes a method implementation in a provided text box, which then should be invoked. I was wondering if this can be done using reflections? Or is there a different way?





Aucun commentaire:

Enregistrer un commentaire