結果 : write a program to remove duplicate characters from a given string and display the string in java