title: This 'if' evaluation in Java with three simultaneous expressions
body: <p>I had this question in my Java test where I had to assign values to <code>a</code> and <code>b</code> so this expression evaluates to true: </p>
  
  <pre><code>(a&lt;=b &amp;&amp; b&lt;=a &amp;&amp; a!=b)
  </code></pre>
  
  <p>Sadly, I had no idea what the answer was.</p>