I agree with Norm. Why would you write code like this in a realy program?
You should use parentheses to clarify operator precedence and so that it works the way you expect.
However, even if you add parens, there is another issue that you seem to have missed. First of all, I think the < and == operators have equal precedence. This means that the left-most is evaluated first. Note that 4==2 evaluates to false. You probably expect that < will be evaluated next. However, the && operator fits in a group called "short-circuit operators". Because the left side of the && operator evaluates to false, we already know that the complete expression will be false without evaluating the right side.
Java is smart enough to know this, too, so it "short-circuits" the operation and doesn't waste any time evaluating the right side of the expression.
As a side note, the || operator works similarly. The difference is that if the left side evaluates to true then it doesn't bother evaluating the right side.
HTH
Layne