?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Moderate

Negating a Boolean "Or" Condition With Three Variables

APCSA-LVEKTV

Assume that A, B and C are of type boolean. The expression

!(A || B || C)

is equivalent to

A
!A && !B && !C
B
!A || !B || !C
C
!(A && B && C)
D
!(!A || !B || !C)
E
!A && !B || !C