1) How do I read in a text file into Java? i.e. one line at a time and store
each line in an array?
2) If I have two arrays, one large and a smaller one containing a selection
of the elements in the large array, how do I perform a comparison of the two
arrays which finds any elements in the large array which are missing from
the small array?
Thomas Kellerer - 15 Mar 2005 13:27 GMT
> 1) How do I read in a text file into Java? i.e. one line at a time and store
> each line in an array?
http://java.sun.com/j2se/1.4.2/docs/api/java/io/Reader.html
especially:
http://java.sun.com/j2se/1.4.2/docs/api/java/io/BufferedReader.html