title: How to use a returned ArrayList in another method
body: <p>I think I am getting myself confused...I am calling a method (method B) which generates an array list. The calling is done from inside another method (method A). I am then trying to use the returned arrayList in method A but it seems to be empty. The arrayList generated in method B is not empty however so I think I've got some return ArrayList issue that I don't understand. Here is my code:</p>
  
  <pre><code>public void ExtractNew(String doc,String day) {
  
      ExtractTotal(docSlim,day);
  }
  
  public ArrayList&lt;List&lt;String&gt;&gt; ExtractTotal(String docSlim,String day) {
      ////Code for multidimensional arrayList creation omitted
              Arr2d.add(Arr);
              }
      }
      return Total;
  }
  </code></pre>