Multiple choice technology programming languages

Relational operators always result in a integer value.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Relational operators (>, <, >=, <=, ==, !=) in Java return boolean values (true/false), NOT integers. This is different from some languages where comparison might return 0 or 1.