title: Print content of multidimensional array
body: <p>I have a two dimensional array</p>
  
  <pre><code> public class TwoDimensions {
  
  public static void main(String[] args){
      String[][] names = new String[3][3]; 
          names[0][0] = "Joe";
          names[1][1] = "Jane";
          names[2][2] = "Herkimer";
      for(String[] output:names){
          System.out.println(names);
      }
      }
  }
  </code></pre>
  
  <p>How can I print all of its content. For location <code>[0][1]</code> I have nothing. So it should print <code>null</code> or something.</p>