結果 : java program to remove consecutive duplicate characters in a string