This question already has an answer here:
Imagine the parent class is provided and all the inherited classes have to be found. Can we do this using Java Reflection? The superclass can be of course found using the getSuperClass, but is there a way to find the child classes from the super class?
Aucun commentaire:
Enregistrer un commentaire