Reading Input from file : <p>How would I read in input from a file and save it to an array?
For example the file contains:</p>

<p>2</p>

<p>1 1 2 3</p>

<p>2 4 5</p>

<p>Where the first number (2) represents the number of arrays need.
The first number in the second line is the array ID followed by whatever should be in the array (1 2 3). Same for third line, so array 2 should contain 4 and 5.</p>

<p>So the two arrays should be:</p>

<p>array1: [1][2][3]
array2: [4][5]</p>

<p>Java please! thanks!</p>
