Question: Assume that i = 1, j = 2, k = 3 and m = 2. What does each of the following statements print? a) System.out.println(i
Assume that i = 1, j = 2, k = 3 and m = 2. What does each of the following statements print?
a) System.out.println(i == 1);
b) System.out.println(j == 3);
c) System.out.println((i >= 1) && (j < 4));
d) System.out.println((m <= 99) & (k < m));
e) System.out.println((j >= i) || (k == m));
f) System.out.println((k + m < j) | (3 - j >= k));
g) System.out.println(!(k > m));
Step by Step Solution
3.40 Rating (162 Votes )
There are 3 Steps involved in it
a true b fals... View full answer
Get step-by-step solutions from verified subject matter experts
