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
Social Sciences,
7 months ago
India Languages,
7 months ago
English,
7 months ago
Art,
1 year ago
Science,
1 year ago
Hindi,
1 year ago
Hindi,
1 year ago
Social Sciences,
1 year ago