What is the output of the following code?
public class Main { public static void main(String args[]) { int a = 32;//from w w w .j a v a 2s.co m int b = 1; int e = a >> b + 1 ; System.out.println(e); } }
Click to view the answer
8
In Java + is running before >> operator.