In Java, our most basic data structure is the array, which allows us to store sequences of light-typed information and access this through a single location in memory. Sometimes, however, arrays are unwieldy, and we want to use more strongly organized data structures so that they can be easier for humans to understand and write programs around. Oftentimes, what's appropriate here is a multi-dimensional array.
"Multidimensional array" is a pretty scary-sounding name, but in fact the concept behind it is very basic. The question is what happens if we create an array of arrays? The following line of code shows the syntax to do just that:
char[][] twoDimArr = new char[3][7];
This line of code will create a two-dimensional multidimensional array. You'll see it's very much like the syntax for simply creating an array of characters under...