title: Jagged arrays with jagged columns, rather than jagged rows
body: <p>This is my first time working with jagged arrays, and I am trying to figure out if you can make one with jagged columns, rather than jagged rows (I have searched Google and this site, to no avail). To clarify, I want to make an array with 2 columns; the first column has only one row, and the second column has 3 rows.</p>
  
  <pre><code>public class Tester
  {
     public static void main (String [] args)
     { 
         int[][] d = new int[3][];
  
         // First row has 2 columns 
         d[0] = new int[2]; 
  
         // Second row has 1 column 
         d[1] = new int[1];
  
         //Third row has 1 column
         d[2] = new int[1]; 
  
         d[0][0] = 1;
         d[0][1] = 0;
         d[1][0] = 0;
         d[2][0] = 1;
     }
  }  
  </code></pre>
  
  <p>This code prints out 1, 0, 1 in the first column and 0 in the second column. What I am trying to print is 1 in the first column and 0, 0, 1 in the second column. What should I do differently?</p>
  
  <p>Thanks!!</p>