結果 : java program to check repeated characters in a string