public class ObjectTest {
public static void main(
String[] args) {
System.out.println(0 < 1 << 2 >> 1 >>> 2);
System.out.println(1<<130);
}
}
can someone explain how precedance is in shift operators???
Ans:false.
I had tried executing it from right to left ....and got my final statement as 0<4....which gives me true as answer.