Grokking Java Basics
Vote

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

OperatorDescriptionExample
==Equal to: checks if two values are equal`a == b

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content