Array list of abstract class?
<p>I am wondering how I can create an array list of classes that extend certain abstract class. Lets say I have abstract class:</p>

<pre><code>abstract class Product{
}
</code></pre>

<p>and some class that extends it:</p>

<pre><code>public class Toy extends Product{
}

public class TV extends Product{
}
</code></pre>

<p>I would like to implement a list of classes that extend abstract class <code>Product</code>. How can I do that?</p>