public class Test2DArray2 { public static void main (String[] argv) { int size = 5; int[][] triangle; // There are `size' rows. triangle = new int[size][]; // Each row has a different number of elements. for (int i=0; i