Home

Pre-Lab

In-Lab

Post-Lab


Logical Expressions

A logical expression is an expression which uses the operators AND, OR, and NOT. These are the primary logical operators that are used to combine logic values into logical expressions. The operands of a logical expression must be, or evaluate to, Boolean values.

To test multiple conditions in the process of making a decision Java provides logical operators. These enable programmers to form more complex conditions by combining simple conditions. This is important because control statements require more complex conditions to determine a program's flow of control.
Megha Yanamadula | Team 1