Which three evaluate to true?

Given:
4. int n1 = 22, n2 = 67, n3 = 0, n4 = 47, n5 = 17, n6 = 50;
5. boolean b = true;
Which three evaluate to true? (Choose three.)

Given:
4. int n1 = 22, n2 = 67, n3 = 0, n4 = 47, n5 = 17, n6 = 50;
5. boolean b = true;
Which three evaluate to true? (Choose three.)

A.
!(n1 < n3) && (n5 != n4)

B.
(n3 < n5) || (n2 <= n1)

C.
(n2 > n6) || b

D.
(!b) && (n1 <= n4)

E.
(n2 < n6) && (n4 >= n1)



Leave a Reply 0

Your email address will not be published. Required fields are marked *