Computer Science, asked by shreejadas31, 6 months ago

name some relational operators in JAVA?​

Answers

Answered by rps83
1

Answer:

Java has 6 relational operators.

  1. == is the equality operator. This returns true if both the operands are referring to the same object, otherwise false.
  2. != is for non-equality operator. ...
  3. < is less than operator.
  4. > is greater than operator.
  5. <= is less than or equal to operator.
  6. > = is greater than or equal to operator.

Similar questions