Jake Mauve wrote:
Hey ! I'm having fun playing around with arrays.
here's the thing I'd like to do. I have a N by N grid of entries, per entry I'd like to save a list, ie, a 1D array of data. How does that work? so far I've just been dealing with basic 'type' arrays like int and String.
It's no different than anything else. (Although it's not really clear what you're asking.)
Also, note that as far as the
Java language is concerned, there really is no such thing as a multidimensional array. A 2D array is just a 1D array whose elements happen to be arrays.
Is it being saved as an array or object?
Again, not clear just what you're asking. However, an array IS an object.