Create a two dimensional string array anArray[2][2]
Looks like this is what you want Here I’ll explain the code: This declares the size of your new 2D array. In Java (and most programming languages), your first value starts at 0, so the size of this array is actually 2 rows by 2 columns Here you are using the type String[][] to create a new … Read more