title: Binary OR operator in java comparing chars
body: <p>I'm stuck on something simple, basically I want to validate the following</p>
  
  <pre><code>public class CharTest
  {
      public static void main(String [] args)
      {
          char myChar = '(';
          if (myChar != '(' | ')' )
          {
              System.out.println("Fault");
          }
          System.out.println("No Fault");
      }
  }
  </code></pre>
  
  <p>But I keep getting </p>
  
  <p>CharTest.java:6: error: bad operand types for binary operator '|'
                  if (myChar != '(' | ')' )
                                    ^
    first type:  boolean
    second type: char
  1 error</p>
  
  <p>I've tried using |  as well as ||  how can I achieve the OR functionality that I'm looking for?</p>