title: Initialise ArrayList<ArrayList<Int>> with a size in kotlin
body: <p>I am trying to initialise a list with a size in the constructor. But the size of my list is 0.</p>
  
  <pre><code>val seqList = ArrayList&lt;ArrayList&lt;Int&gt;&gt;(N) // This has the Problem
  val queries = ArrayList&lt;Query&gt;(Q) // This works like a charm
  </code></pre>
  
  <p>I have both <code>N</code> and <code>Q</code> set as non zero inputs from the user lets say 
  <code>N = 100</code> and <code>Q = 100</code></p>
  
  <p>While debugging my code I found out that, <code>queries.size() = 100</code> but <code>seqList.size() = 0</code></p>
  
  <p>Is my assumption incorrect, that <code>seqList</code> should also have been initialized with <code>N ArrayList&lt;Int&gt;</code> objects.</p>