Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. public class Bits {
  2.  
  3. public static void main(String[] args) {
  4. byte b = (byte)(1 << 7) + (byte)(1 << 6);
  5. System.out.println(b);
  6.  
  7. int i = b & 0xff;
  8. System.out.println(i);
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement