title: Why are there 2 boolean type operators in Java?
body: <p>As said in thinking in Java if you have 2 boolean objects, <code>x</code> and <code>y</code> you can use either <code>x= x&amp;&amp;y</code> and <code>x=x&amp;y</code> on them, so why its necessary having both types?</p>