I have to keep thousands of strings in memory to be accessed serially in Java. Should I store them in an array or should I use some kind of List?
Since arrays keep all the data in a contiguous chunk of memory (unlike Lists), would the use of an array to store thousands of strings cause problems?