how many resulting values are possible for evaluating a boolean expression course hero

by Mr. Mallory Ratke 7 min read

Comparison Operators

Comparison operators compare a pair of values (possibly numbers, characters, or boolean values) and return a boolean value.

Boolean Operators

Some operators perform "logic operations", operating on one or more Boolean values and resulting in a Boolean value. These are called Boolean operators.

Shortcut Evaluation of Boolean Expressions

Java uses "shortcut evaluation" when it attempts to evaluate a Boolean expression. In other words, the evaluation of the expression stops as soon as the result is known.