Java Reference
In-Depth Information
The output from the program is shown here:
Short-Circuit Logical Operators
Java supplies special short-circuit versions of its AND and OR logical operators that can
be used to produce more efficient code. To understand why, consider the following. In an
AND operation, if the first operand is false, the outcome is false no matter what value the
Search WWH ::




Custom Search