That is not weird gibberish. That is because the toString method is not overridden in arrays.Dennis Von Valkenburgh wrote: . . . weird gibberish of: "{{[D@15db9742, }{[D@6d06d69c, }}" . . .
No, it doesn't because there is no such thing as a 2D array. There are only arrays of arrays. That definition permits “jagged” arrays, even with empty elements, which you would need to allow for when printing an array.Dennis Von Valkenburgh wrote: . . . creates a 2d Array from the String. . . .
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|