0

Arrays into another array? (Java)

ArrayList<int[]> a=new ArrayList<int[]>(); or int[][] b=new int[size][]; if this is correct, wich is better? if not, what is the best way to do it?

30th Sep 2018, 1:55 AM
Vardo
Vardo - avatar
1 ответ
0
For every array added in an array is another dimension, in your case it would be a 2D array. This can show you how to make one https://chortle.ccsu.edu/java5/Notes/chap49C/ch49C_3.html
30th Sep 2018, 2:06 AM
Justin Petluk
Justin Petluk - avatar