Insert int Array to ArrayList
<p>Can I insert array to array and read it afterwards in Java? Something like this:</p>

<pre><code>ArrayList&lt;Integer&gt; array = new ArrayList&lt;&gt;();
array.add([1,4,5]);
array.add([3,7,2]);
</code></pre>

<p>Array: </p>

<pre><code>{ [1,4,5], [3,7,2] }
</code></pre>

<p>And read like:</p>

<pre><code>print(array[0][1]); //prints 4 
</code></pre>

<p>Thanks.</p>