|
You may only need a one dimensional array here.
I am guessing here, but I have the feeling that each record holds a set collection of information such as a name, id number, and other numbers and or strings, and that this is one "dimension" of your array, and that the other dimension is the collection of multiple such records. If I am correct then first you should create a class that holds all the information contained in one record. Then you'll want either a single dimensional array of objects of this class, or often times better in this situation is a Collection such as an ArrayList of these objects.
If my assumptions are wrong, please correct them. Either way, you may wish to provide more information regarding the specifics of your problem for a more helpful answer.
Best of luck.
|