Question: Assume that i = 2, j = 3, k = 2 and m = 2. What does each of the following statements print? a) System.out.println(i
Assume that i = 2, j = 3, k = 2 and m = 2. What does each of the following statements print?
a) System.out.println(i == 2);
b) System.out.println(j == 5);
c) System.out.println((i >= 0) && (j <= 3));
d) System.out.println((m <= 100) & (k <= m));
e) System.out.println((j >= i) || (k != m));
f) System.out.println((k + i < j) | (4 - j >= k));
g) System.out.println(!(k > j));
Step by Step Solution
3.36 Rating (149 Votes )
There are 3 Steps involved in it
Here are the expected outputs of the given statements a true The value of i is 2 ... View full answer
Get step-by-step solutions from verified subject matter experts
