Java Returning method which returns arraylist?
<p>I have one class with a method like this:</p>

<pre><code>public ArrayList&lt;Integer&gt; myNumbers()    {
    ArrayList&lt;Integer&gt; numbers = new ArrayList&lt;Integer&gt;();
    numbers.add(5);
    numbers.add(11);
    numbers.add(3);
    return(numbers);
}
</code></pre>

<p>how can i call this method inside another class?</p>
