Help In Creating Classes Inside Another Class
<p><br>
         I have superclass(Class A) with a number of subclasses(Class B, Class C, Class D). I would like to create objects of any of these subclasses inside another class (class M) so that i can add the objects to an arraylist inside the class M.</p>

<p>I would like to know how i can create any of these subclasses inside class M.  i welcome all suggestions.</p>

<p>thanks.</p>
