Multi Dimension Array by Example

From Java Example Source Code

Jump to: navigation, search

Contents

[edit] Overview - Multi Dimension Array by Example

This Java example program shows how to deal with multi dimension array.

[edit] Java Source Code

  • Package: example.array
  • File: MultiArray1.java
package example.array;
 
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") } };
    }
}

[edit] What Result You Can Get

There's nothing out here.

[edit] Required External Libraries and/or Files for this Java Example

Need nothing.

http://www.ase2009.com/ online casino 132 http://www.hellzyea.com/health health insurance 8DDD http://www.yourautoinsurancesite.com/ auto insurance quotes 135811 http://www.makemeasammich.com/ auto insurance mcnxu

[edit] Question & Answer

Any question?

Click edit and post your question or answer here.


Personal tools