Multiple choice

Which of the following expressions will result into Boolean true (1) value?

  1. !(0)

  2. !(5)

  3. !(-4)

  4. !(5>2)

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

This option is correct because zero represents Boolean zero and its negation (!) will return Boolean true value, i.e. 1, hence this option is correct.