How can I store an int array into a number array?
<p>Integer extends Number so in that sense Number becomes the superclass of int. I want to store an int array into a Number array..
I have the following code.However, it seems it is not allowed in java.</p>

<pre><code>    int[] b = {1,2};
    Number[] a = b;
</code></pre>

<p>Why java does not allow me to store an int array in number array and how do I store this out ?</p>
