I want to list/enumerate (at runtime) in my Java program all classes that implements a given interface, and retrieve the class name. Is it possible ? How can i do ?
I want to list/enumerate (at runtime) in my Java program all classes that implements
Share
You should use java Reflection
This link offers a tutorial that cover all the thing you can do using Reflection. You can build your code starting from there