title: What is the logical xor operator in java?
body: <p>In java, there is a logical OR operator (<code>||</code>) and a logical AND operator (<code>&amp;&amp;</code>).  Is there a <a href="https://en.wikipedia.org/wiki/Logical_XOR" rel="noreferrer">logical XOR</a> operator?  I tried <code>^^</code> but it does not work.</p>