Grokking Java Basics
0% completed
Relational operators
Relational operators are used in Java to compare two values. These operators evaluate expressions and return a boolean value (true or false) based on the relationship between operands. They are fundamental in decision-making statements such as if and loops.
Relational Operators
| Operator | Description | Example |
|---|---|---|
== | Equal to: checks if two values are equal | `a == b |
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%