Java Logical Operator Precedence