Name the type of relational operator in JAVA?
Answers
Answered by
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.
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
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!
Ex: Equal to:
int a = 1;
int b = 2;
System.out.println(a==b);
Output: false.
Hope this helps!
Similar questions
Math,
8 months ago
Computer Science,
8 months ago
Social Sciences,
8 months ago
Art,
1 year ago
Science,
1 year ago
Hindi,
1 year ago
Hindi,
1 year ago
Social Sciences,
1 year ago