有大佬可以帮我看一下代码吗 第二题 public class dechar {     public static void main(String[] args) {         Scanner sc=new Scanner(System.in);         String st=sc.nextLine();         HashSet<Character> hash=new HashSet<>();         int i=0;         ArrayList arr=new ArrayList();         while (i<st.length()){             char c=st.charAt(i);             if(!hash.contains(c)||c==' &(5528)#39;){                 hash.add(c);                 arr.add(c);                 i++;             }else{                 i++;             }         }         for(Object ch:arr){             System.out.print(ch);         }     } }