title: What's the difference between XOR and NOT-EQUAL-TO?
body: <p>My question uses Java as an example, but I guess it applies to probably all.</p>
  
  <p>Is there any practical difference between the XOR operator (<code>^</code> in Java) and the not-equal-to operator (<code>!=</code> in Java), when comparing booleans?</p>
  
  <p>I evaluated things here, but I just kept wondering (seems weird, two things equal)... and didn't find anything on the net. Just one discussion in some forum that ended quickly without any result.</p>