This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
In Java, a two dimensional array is a one dimensional array of references to one dimensional arrays. As a result, each row can be a different length. [ November 17, 2004: Message edited by: Mike Gershman ]
It's cool how you can take a multi-dimensional array apart.
Since gameBoard is an array of arrays, I can pull out one of those arrays, work with it, replace it, etc. I put back a new row with a different length. That may make the game very hard to play I've seen some people call this a "non-rectangular" array.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi