public class MainClass { public static void main(String args[]) { int a = 32; a = a >> 2; // a now contains 8 System.out.println(a); } }