title: How do negative operands to bitwise operators work in Java?
body: <pre><code>-4 &amp; -5 = -8 // How?
  -4 &amp; 5 = 4 // How?
  </code></pre>
  
  <p>I need an explanation for how the above results can be reached. I have no difficulties in solving with positive integers.</p>