This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
The following code is part of my Flash card program where the user can have two text files, one called questions and the other called answers, and then the program will display the questions and the user can see if he can get the right answer.
This is just the loading of the cards, not the whole program. The problem is not every line in the text file is being loaded. Try it yourself using two text files with the same number of lines, and if the text file was something like,
The ArrayList qlines would be something like