Question 53Asked in DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2

Which of the following is a invalid relational operator in Java?

  1. A<=
  2. B=>
  3. C!=
  4. D==
Show answerHide answer

Correct answer: (B) =>

Explanation

Java's relational operators are <, >, <=, >=, == and !=. "=>" is not a valid operator in Java.

From DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2

This is question 53 of DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.