結果 : how to find duplicate characters in string java program