Can I create a object array to hold different objects in Java?
<p>Is it possible to do something like this in Java?</p>

<pre><code>Object[] objArray = { new Car(), new Human() }
</code></pre>

<p>I read that the array elements all have to be the same type but aren't these all of type Object ?</p>
