Computer Science, asked by Anonymous, 1 year ago

Name the type of relational operator in JAVA?

Answers

Answered by Prandip
0
Relational Operators are used to check relation between two variables or numbers.

Relational Operators are Binary Operators.

Relational Operators returns “Boolean” value .i.e it will return true or false.

Most of the relational operators are used in “If statement” and inside Looping statement in order to check truthness or falseness of condition.

Answered by siddhartharao77
1
They check the relation between two operands.It returns a boolean value.

Ex: Equal to:

int a = 1;

int b = 2;

System.out.println(a==b);

Output: false.


Hope this helps!
Similar questions