I am looking for a type of mutidimensional-arraylist which can be initialize by an array just like regular 2d arrays. Such as this:
for(int o = 0; o < n; o++) {
for(int i = 0; i < n; i++) {
num[o][i] = sc.nextInt();
}
}
I greatly appreciate your help.