why in the below example the value of i is not incrementing. Output is always zero o.
The ++ operator have higher precedence. So this should first increment the value of i and then use is the rule.
class Demo
{
public static void main(String args[])
{
int i = 0;
if(i > 0 && ++i < 10)
System.out.println("Inside if" );
System.out.println(i);
}
}

