The result of this if statement was asked in my final exam. Afterwards, I searched for this sort of If statement but couldn't find it. Here's an example of this if statement. I experimented with it and apparently it works in mysterious ways :D
int a=1, b=1;
if(a != b >> 1)
{
System.out.println("ABC");
}