title: What is the functionality of the Bitwise and Bitshift operators in Java?
body: <p>I understand what the bitwise and bitshift operators in java <em>do</em>, but i dont understand what their practical use is. For instance, when is it useful to use
  " ~, &lt;&lt;, >>, >>>, &amp;, ^,| " to modify or compare the bits of values?</p>