You Think That java doesnot support more than one dimensional array. If you see two dimensional array then it is array of Array. if you find three dimensional array then it is array of array of array. And So on...
1) int   myarray = new int Here in this case you are specifything that you have array with contains another array into it.
Now if you want all statement 1,2,3 and four into one line then you can do it as, int myarray = new int.
Now assume, you want a zigzag array. So in that case what you will do? In this case following code will come to rescue.