How do I initialize an array that has been called from a file? There will be 5 values in the array. So should my file "input.dat" have:
5 (number of values)
4 (value)
6 (value)
7 (value)
2 (value)
7 (value)
Example:
BufferedReader br = new BufferedReader(
new FileReader("input.dat"));
and I'm lost after that.
Thanks,
Bud