title: How to add Element to 3 dimensional ArrayList? - Java
body: <p>I want to add a <code>String</code> to a specific location in an <code>ArrayList</code> that looks like this:</p>
  
  <pre><code>ArrayList &lt;String[][]&gt; arrayList3D = new ArrayList&lt;&gt;(Arrays.asList(arrayString3D));
  </code></pre>
  
  <p>I tried this out: </p>
  
  <pre><code>arrayList3D.get(0).get(1).add("new Word");
  </code></pre>
  
  <p>but it didn't work...</p>