How do I store multipule class objects in the same array in Java?
<p>If I create an Array in the class DefaultItems:</p>

<pre><code>DefaultItems[] items = new DefaultItems[20];
</code></pre>

<p>I want to use this as a storage array for 5 different class objects.   I want to store a Car object, Person object and Pet object.</p>

<pre><code> DefaultItems[1] = Car Object;
 DefaultItems[2] = Person Object;
</code></pre>

<p>Is this possible?</p>
