0
Comparing
How to compare character array in Java?
5 Antworten
+ 4
Loop through the array and see if each element at the same index is equal to one another with ==.
+ 2
The java.util.Arrays.equals(char[] a, char[] a2) method returns true if the two specified arrays of chars are equal to one another. Two arrays are equal if they contain the same elements in the same order. Two array references are considered equal if both are null.
0
How to check whether the specific character is greater or lesser?
I don't want to check for equality.
And thanks for your reply #Shekar Raha
0
welcome @Shamanth Rai
0
Ordinary comparison doesn't work @Gordie