The syntax for a 2d array is : array_name[row_index][column_index] = value; Why, for this exercise, the desired output requests inverted syntax? array_name[column_index][row_index] it's so confusing!home - (5, 3) - (2, 0) - column 5, row 3 and column 2, row 0
Am I missing something?
public static void main(String[] args) {
int[][] wordSearch = new int[][]{
{'f', 'd', 'e', 'r', 'l', 'k'},
{'u', 's', 'a', 'm', 'e', 'o'},
{'l', 'n', 'g