Question 141
int x = 8;
boolean c1 = (x > 5 && x < 8);
boolean c2 = !(x >= 10) || x == 8;
boolean c3 = (x < 0 || x > 12) && x != 8;
System.out.println(c1 + " " + c2 + " " + c3);Main Solution
Solution:
Correct: C. c1 = (true && false) = false. c2 = !(false) || true = true || true = true. c3 = (false || false) && false = false. Output: false true false.
Answer: Correct: C
Answer images

