How can you store an array object in a single reference of Object class?
<p>As far as my understanding goes Object is also a class in java. So,how is it that we can write</p>

<pre><code>Object ob = new Integer[2];
</code></pre>

<p>and not </p>

<pre><code>Integer i = new Integer[2];
</code></pre>

<p>How is it that a single reference <code>ob</code> can point to array of Integers but reference of type <code>Integer</code> can't?</p>
