static final int ROW_SIZE = 10;
static final int COL_SIZE;
You are declaring ROW_SIZE AND COL_SIZE as final ....
when a variable is declared as final ... its value cant be changed at any stage of the program. And you are changing the values of both .. so it wont compile.
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
Offline 1,767 posts
since Jul 2004