title: Pass Arraylist as argument to function
body: <p>I have an arraylist A of Integer type. I created it as: </p>
  
  <pre><code>ArrayList&lt;Integer&gt; A = new ArrayList&lt;Integer&gt;();
  </code></pre>
  
  <p>Now, I want to pass it as an argument to function <code>AnalyseArray()</code>. </p>
  
  <p>How can I achieve this?</p>