public static void main(String[] args) {
int[][] array = new int[2][];
/*array[0] = new int[2];
array[1] = new int[4];*/
array[0] = new int[]{11,22,33,44};
array[1] = new int[]{111,221,331,441,999,888,777};
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array[i].length; j++) {
System.out.print(array[i][j]+" ");
}
System.out.println();
}
/*System.out.println(array3[0]);
System.out.println(array3[1]);*/
}