I tried searching for an answer, but I don't know how to answer it. I tried making my own, but it show me this error:

```
Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
    The method contains(CharSequence) in the type String is not applicable for the 
arguments (char)

```

I don't know why it says charsequence when I just used a simple array. The purpose of this part of a code is like a checker for invalid inputs. Here is the code:

```
                for(int i = 0; i <= 9; i++) {
                    if(GN.contains(Integer.toString(i))){
                        checked = false;
                        if(!checked) {
                            System.out.println("Invalid type, try again.");
                            main.GivenName();
                        } else {
                            String InvalidSym = "`!@#$%^&*()_=+{}[]|\";:\\?";
                            char[] FinalCheck = new char[InvalidSym.length()];
                            for(int j = 0; j <= FinalCheck.length; j++) {
                                  FinalCheck[j] = InvalidSym.charAt(j);
                            }
                            for(int k = 0; k <= FinalCheck.length; k++) {
                                if(GN.contains(FinalCheck[k])) {
                                    checked = false;
                                }
                            }
                        }
                    }
                } //second checker

```