Can a 2D array hold an array within a given point?
I am a fairly newbie programmer with a question on arrays in Java.
Consider a 2D array, [i][j]. The value of i is determined at run time. The
value of j is known to be 7. At [i][6] and [i][7] I want to be able to
store a deeper array or list of values. Is it possible to have something
like an array within an array, where there is an x and y axis and a z axis
at the point of [i][6] and i[7] or will I need a full 3D cube of memory to
be able to store and navigate my data?
No comments:
Post a Comment