title: Is java bit shifting circular?
body: <p>I have this behavior using Java:</p>
  
  <pre><code>int b=16;
  System.out.println(b&lt;&lt;30);
  System.out.println(b&lt;&lt;31);
  System.out.println(b&lt;&lt;32);
  System.out.println(b&lt;&lt;33);
  </code></pre>
  
  <p>output:
  0
  0
  16
  32</p>
  
  <p>Is java bit shift circular? IF not, why I get 0 when b&lt;&lt;30 and 16 when b&lt;&lt;32?</p>