Boolean Expressions
The condition of an if statement must evaluate to a true or false result
Java has several equality and relational operators:
See Temperature.java
Operator
==
!=
<
<=
>
<=
Meaning
equal to
not equal to
less than
less than or equal to
greater than
greater than or equal to
Previous slide
Next slide
Back to first slide
View graphic version