Can you use ArrayList to populate and output an array multiple times?
My program is supposed to take the user's input for a series of questions, using an array. It should ask that series of questions twice, before outputting anything, and then output both sets of answers together. So if the user enters "A", "B", "C" the first time, and then "C", "B", "A" the second time, the output should read:
Can you use ArrayList to do this? Or is there some other way to store multiple sets of values for the same array?
Re: Can you use ArrayList to populate and output an array multiple times?
I would use an ArrayList if you don't know how many times the user will input something.