- 5 ответов
- 0 вопросов
11 Вклад в тег
The conditional-or operator is syntactically left-associative (it groups left-to-right).
At run-time, the left-hand operand expression is evaluated first; if the result has type Boolean, it is subjected to unboxing conversion (§5.1.8).
If the resulting value is true, the value of the conditional-or expression is true and the right-hand operand expression is not evaluated.