import java.util.*;
public class exercise2 {
public static void main(String[] args){
Set set = new LinkedHashSet();
String string = "wwqweqdasdafdsfdsferer";
char[] ch = string.toCharArray();
for(int i = 0; i < ch.length; i++){
set.add(ch[i]);
}
System.out.println(set);
}
}
//OutPut:
[w, q, e, d, a, s, f, r]