Question: what are different relational operators in java?
Answer: Java has six relational operators that compare two numbers and return a boolean value. The relational operators are < , > , <= , >= , == , and != . True if x is less than y, otherwise false.