Not exactly. It seems that setArray() is initializing your array. (It is not filling it, but making memory for the array itself.) Your default constructor doesn't do that so it will be null and...
Type: Posts; User: GoodbyeWorld
Not exactly. It seems that setArray() is initializing your array. (It is not filling it, but making memory for the array itself.) Your default constructor doesn't do that so it will be null and...
That is because java, I believe, will auto-initialize primitives (it doesn't do that with objects). Since you didn't call fillArray(), the data never got inserted into it, hence it was still in...
You're calling the toString() of arrays, which are pretty similar to Object's toString(). It basically returns hash code.
You're better using a for loop
double[][] array =...