Comparison operators compare a pair of values (possibly numbers, characters, or boolean values) and return a boolean value.
Some operators perform "logic operations", operating on one or more Boolean values and resulting in a Boolean value. These are called Boolean operators.
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.