title: How to store a 2D Integer array in ArrayList?
body: <p>I have this defined: <code>List&lt;Integer[][]&gt; listOfInteger= new ArrayList&lt;&gt;();</code></p>
  
  <p>How do I insert data into it?</p>
  
  <p>I have tried </p>
  
  <p><code>listOfInteger.add(new Integer[][](1,2));</code></p>
  
  <p>and</p>
  
  <pre><code>List&lt;Integer[][]&gt; listOfInteger= Arrays.asList(new Integer({1, 2)});
  </code></pre>
  
  <p>But none works</p>