Relational Operators

  Comparison (or relational) operators are used in conditions that compares one expression with another expression. The result of a comparison can be TRUE, FALSE, or UNKNOWN .

A comparison (or relational) operator is a mathematical symbol which is used to compare between two values.

Operator      Meaning
=                    Equality
!=, ^=,      Inequality
>                    Greater than
<                    Less than
>=                  Greater than or equal to
<=                  Less than or equal to


Learn Technology