title: Incompatible operand types char and Class
body: <p>I'm  working on a mini wheel of fortune game, and I'm trying to restrict the use of a vowel, since they did not buy it.</p>
  
  <p>What I'm not understanding is the if loop at the end. it says that it is incompatible with the operand types, but I'm not sure why. Am I doing something wrong?</p>
  
  <pre><code>char[] cons= {'B','C','D','F','G','H','J','K','L','M','N','P','Q','R','S','T','V','W','X','Y','Z'};
  switch (input) {
              case Guess:             
                  System.out.println("The wheel lands on $" + spins);
                  System.out.println("Guess a consonant");
                  char letter = kb.next().toUpperCase().charAt(0); 
                  if (letter == cons[]) {
                     //allow usage of letter
                  }
  }
  </code></pre>