MultiArray1.java Source code

Java tutorial

Introduction

Here is the source code for MultiArray1.java

Source

public class MultiArray1 {
    public static void main(String args[]) {
        //       int array[][] = {{1,2,3}, {4,5,6}, {7,8,9}};
        //       int []array[] = {{1,2,3}, {4,5,6}, {7,8,9}};
        //       System.out.println(array[0][0]);
        //       System.out.println(array[1][0]);
        //       System.out.println(array[2][0]);
        //       System.out.println([0][0]array);
        //       System.out.println([1][0]array);
        //       System.out.println([2][0]array);
        Object events[][] = { { new Integer(1452), new String("Italy") },
                { new Integer(1472), new String("b.jpg") }, { new Integer(1483), new String("Hr") },
                { new Integer(1495), new String("Pte") }, { new Integer(1503), new String("m.jpg") },
                { new Integer(1519), new String("F") } };
    }
}