I need to retrieve multidimensional array. How do I do it ?
By above code I can only retrieve "1,2,11,12" elements. Not all of them, how can I do it.Code:int ages[][] = {{1,2,3,4,5,6,7,8,9,10},{11,12,13,14,15,16,17,18,19,20}};
for( int i=0; i<ages2.length; i++ ){
for( int j=0; j<ages2.length; j++ ){
System.out.print( ages2[i][j] + " " );
}
