Outside Resources:
Learn Java the Hard Way – Conditions
The New Boston – Logical Operators
TutorialsPoint – Operators
(See Relational and Logical Operators sections)
A condition is an expression that’s either true or false.
For example: “x > 2” can be evaluated out to either true or false, depending on the value of x.
Conditions are used in if statements and while loops, among other things.