I am trying to understand this snippet, please correct me if i am wrong.
int scores = new int;
scores = new int; // does this line converts above  to below structure, will 2 and 3 cells disappears after this line ?
friend he hasn't created a jagged array in his third line i suppose....
but he has re-assigned the first score array element with a different int object......and hence after this statement it becomes a jagged array.....
What I meant was the same, maybe my language was not clear.
As our friend Ankit said, there is no multidimensional array in java.
seetharaman said that, so credit goes to him not me
Joined: Mar 05, 2008
Thank you all Guys, all your replies were helpful! i have to stick this point in my mind "Array of Arrays"