t looks like you're getting the hang of this! Let's explore another set of useful operators available in Java known as relational operators.
Relational operators compare data types that have a defined ordering, like numbers (since numbers are either smaller or larger than other numbers).
Relational operators will always return a boolean value of true or false.
Here are a few relational operators:
< : less than.
: greater than.
>=: greater than or equal to.
A relational operator is placed between the two operands (the terms that you want to compare using the relational operator). The result of a relational operation is printed out in the following statement: