Having a problem with zero length arrays

The following technique will print the arrays in a similar manner:

float[][] a = new float[1][4];
float b[][] = {{0}, {0}, {0}, {0}};

void setup() {
  a[0][3] = 3.142;
  b[3][0] = 2.728;
  printArray(a);
  for (int i = 0; i < a.length; i++) {
    println(a[i]);
  }
  printArray(b);
  for (int i = 0; i < b.length; i++) {
    println(b[i]);
  }
}

Output:

I would like to see a screenshot of the posted code’s output. If there is a reference for the code I would like to see that also. To reiterate, the original post needs to be formatted because copy pasting leaves out some important characters.