How to compare two cells in the same character array [Java] -
i need compare 2 cells in character array.
i wondering if
array[i][j]==array[i+1][j+1]
would compare character values within of array.
if char[][]
- yes, if char[][]
- (capital c) no, latter 1 pointer , address compared
java arrays compare character
No comments:
Post a Comment