結果 : check if two characters are equal java