Possible Duplicate:
At runtime, find all classes in a Java application that extend a base class
I need to get list of all the classes (child) which extends a particular class (parent) and then create an instance of them all.
how should I do this in Java?