Home »
MCQs »
Scala MCQs
Relation operators are –
46. Relation operators are -
- Return a relative value
- Used to define the comparison between the two operators
- Create new values based on the relation
- None of these
Answer: B) Used to define the comparison between the two operators
Explanation:
Relation operators are used to check whether the two operands are equal or not and returns true if they are equal