I have a few multidimensional arrays of type char[][]. Eg..
char[][] ARRAY_1 = {
{'.','#'},
{'$','@'}
}
char[][] ARRAY_2 = {
{'.','#'},
{'$','@'}
}
And I want to make an array or list of some sort such as
ARRAY = {ARRAY_1,ARRAY_2,...}
so I'll be able to put in ARRAY[1] (or something similar) and have it return the entire char[][] ARRAY_1
I am very new to programming with Java so I'm not sure what the best way to do this is.
Edit: I've just found out I'm not allowed to use ArrayLists.
List.of(ARRAY_1,ARRAY_2);