enter image description hereIm trying to create an 8x8 array and i know that according to java that array[0][0] is the index of the first row, first column. I want to rename this to some name 'a1' similary array1[0] as 'a2' array[2][0] as 'a3' The code below is what I want to do but I am not sure if there exists a syntax for that. Correct me if I'm wrong but if there is a chance to rename my array, that will make it so much easier for me. Thanks in advance.
char[][] cb;
char a=8;
char b=8;
cb= new char[a][b];
cb[0][0]=name('a1');
cb[1][0]=name('a2');
cb[2][0]=name('a3');
...
...
cb[5][7]=name('h6');
cb[6][7]=name('h7');
cb[7][7]=name('h8');
//Then I save some elements in each index with the new name
I've attached the chessboard image, I get an input as Rf1 which means my rook is at cell f1 but in array language its [7][5] right? So i want to know if I can do that change somehow.