Java provides operators that can be used to check the relationship between values or values within variables also known as operands.
All relational operators, less than(<), less than or equal to(<=), greater than(>), greater than and equal to(>=) gives resultant value in boolean i.