all,I\'m now facing the problem of no idea on storing the content in text file into the array. The situation is like, text file content:
abc1 xyz2 rxy3
You need to do something like this for your case:-
int i = 0; while((str = in.readLine()) != null){ arr[i] = str; i++; }
But note that the arr should be declared properly, according to the number of entries in your file.
arr
Suggestion:- Use a List instead(Look at @Kevin Bowersox post for that)
List