Folks,
I've searched this forum and the documentation for what might be the best solution, but I'm only more confused now.
I have a database of questions. Each question has four possible answers, and one answer is correct.
A record might look like this:
Question, Answer1, Answer2, Answer3, Answer4, 3
The last field (3) tells us that the correct answer is Answer3
So...
I want to populate a multi dimensiona array with a series of these records. The number of questions may vary, so I can't make it a fixed size.
How would I declare this array, or would I be better off using an ArrayList (I can't seem to find any documentation on this) or should I use a List of Arrays?
:sign0085: Sterling
I've searched this forum and the documentation for what might be the best solution, but I'm only more confused now.
I have a database of questions. Each question has four possible answers, and one answer is correct.
A record might look like this:
Question, Answer1, Answer2, Answer3, Answer4, 3
The last field (3) tells us that the correct answer is Answer3
So...
I want to populate a multi dimensiona array with a series of these records. The number of questions may vary, so I can't make it a fixed size.
How would I declare this array, or would I be better off using an ArrayList (I can't seem to find any documentation on this) or should I use a List of Arrays?
:sign0085: Sterling