title: how to find least significant byte of an integer in Java?
body: <p>I need help with the following problem:</p>
  
  <p>Write an expression that results in the least significant byte of an integer x being set to 0, but all other bits unchanged.
  For example: 0x98234493 becomes 0x98234400.</p>
  
  <p>I am confused on how to access the least significant byte. </p>
  
  <pre><code>public static int Q3(int x) {
      return (x &amp; 0xFFFFFFFF);
  }
  </code></pre>
  
  <p>What am i doing wrong?</p>