storing a value in a parameter
<p>hi please can anyone tell me how to store some int values in an array</p>

<pre><code>public int getStatistics(int teamid) {
    int stats = 0;

    for(int runid = 0; runid &lt; 4; runid++) {
        stats = teams[teamid].getRunTime(runid);
    }
}
</code></pre>

<p>i am writting a method to retrieve the statistics contained for a team in an array location.it contains 4 values.the team id is an int an is selected by user while the run id brings out the values in each location.my problem is to store the value i have in the stats to a place which can contain for seperate values. example 5,7,8,4</p>
