結果 : print only duplicate characters from string in java