Advertisement
JeffGrigg

Bit Shifting Operations

Jun 27th, 2018
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.17 KB | None | 0 0
  1. class Test {
  2.     public static void main(String srgs[]) {
  3.         int a = 37, b = 5, c;
  4.         System.out.println(a >> 3);
  5.         System.out.println(b << 3);
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement