In this post, I'm going to teach you guys about Equality, Relational Operators in Java. The equality and relational operators determine if one operand is Greater than, Less than, Equal to or Not equal to another operand.
Following are the symbols of the operators
== Equal
!= Not Equal
> Greater Than
>= Greater Than Or Equal
< Less Than
<= Less Than Or Equal
All these operators will compare two operands on their left and right and then give a boolean value that means true or false.
We will learn about each of these operators in the upcoming post.
No comments:
Post a Comment