I have a silly doubt, but I will do it.
I need to create a two-dimensional array in Oracle any of the type:
int[][] field = new int[10][10]; <-- O mais parecido possivel jeito
for (int i = 0; i < n*n; i++){
for (int j = 0; j < n*n; j++){
field[i][j] = (i*n + i/n + j) % (n*n) + 1; <-- Apenas um calculo
}
}
could help me with opinions and examples?
PS: I'vê tried to look for something like it, but I did not find it.