Read From File In Java
<p>I have a following test file :</p>

<pre><code>100 100 6 0.5 8
10.0 10.0 2.0 2.0 5.0 1.0 red
11.0 11.0 3.0 3.0 6.0 1.0 black
.
.
.
</code></pre>

<p>(this represents one billiard ball properties and they continue ball numbers.)The first line show that billiard table properties.Especially 8 shows number of balls.The following lines show 8 balls properties.</p>

<p>How can I read this file second line,third line etc. with using for loop in java?Could you please help me?I want to read second line third line ...and other lines into an array with using for loop for example loop turns 8.</p>
