How can I concatenate a bunch of numbers with commas, without adding a trailing comma?
<pre><code>PrintWriter fout = new PrintWriter(new BufferedWriter(
    new FileWriter("numbers.dat")
)); 
for(int i = start; i &lt;= 100; i = i + 2) { 
    fout.print(i + ", "); 
}
</code></pre>

<p>Right now my output is like this:</p>

<pre><code>2, 4, 6, 8, 10,
</code></pre>

<p>What I want:</p>

<pre><code>2, 4, 6, 8, 10
</code></pre>
