0
Example, I have a two-dimensional array of type int:
int array[][] = new int[10][10];
How do I define the value of, for example [2][3], [6][7] and [1][9] for some same int, without needing to define one at a time like this:
array[2][3] = -1;
array[6][7] = -1;
array[1][9] = -1;
why do you need to do this? what are you implementing?
– Douglas