mercredi 23 septembre 2020

Instantiate an anonymous Java class using reflection

Is it possbile to instantiate an anonymous Java class using reflection. I have created an anonymous class that I would like to instantiate again later on, is there anyway of doing this? I can do it with an inner class, but I really need to do it with an anonymous one?





Aucun commentaire:

Enregistrer un commentaire