Java   View all facts   Glossary   Help
syntactic unit > symbol > operator > relational operator
Next operatorshort circuit operator    Upoperator    Previous operatorprefix operator   

relational operator comparison table
Subject use by have purpose is a subtopic of return
!= to return true if the operands are not equalOperatorsa value called its result
< to return true if the first operand is less than the second operand a value called its result
<= to return true if the first operand is less than or equal to the second operandOperatorsa value called its result
==boolean data typeto compare any two variables to test if they are identical, which means they either refer to the same objects or have the same primitive valuesOperatorsa boolean
> to return true if the first operand is greater than the second operandOperatorsa value called its result
>= to return true if the first operand is greater than or equal to the second operandOperatorsa value called its result

Next operatorshort circuit operator    Upoperator    Previous operatorprefix operator