I'm trying to use Class.getMethod as a getter.
I tried:
//This works fine Class<?> c = Class.forName("Cat"); //This is not working Cat cat = c.getMethod("getCat");
Aucun commentaire:
Enregistrer un commentaire