Is it possible to make a list of classes without instantiating them as actual objects?
<p>I have a set of classes in my program which can be instantiated. Each class has a static method associated with it which updates a particular aspect of that class. </p>

<p>At run time the program chooses to use a number of the classes from the set. </p>

<p>Multiple versions of these classes are then instantiated as objects as the program runs.</p>

<p>Throughout the program there are key points where I need to call the static methods associated with the various classes but only the ones in use that the program picked at run time.</p>

<p>Is it possible for me to make a list/array containing the classes in use without instantiating them? So that I can then just go through that list and call the static method on each class?</p>

<p>The only other way I have found of doing it is instantiating one object for each class in use and storing them in an array and calling the methods from there. This seems a bit inefficient and not very elegant.</p>

<p>Any help is greatly appreciated.</p>
