Hi Prakhar,

On 22/06/2019 1:28 am, Prakhar Makhija wrote:
Topic: OR operator represented by ||

That should be the subject of your email - not a reply to a digest.

Query: The expression evaluation of the operands, of OR operator, does it
happen in parallel, when Java code runs, in the current versions?

No, there is no parallel evaluation of anything in Java. It would be wrong to do so in this case as:

"The conditional-or operator || operator is like | (ยง15.22.2), but evaluates its righthand operand only if the value of its left-hand operand is false."

David

Reply via email to