Assume that i = 2, j = 3, k = 2 and m = 2. What does

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 == 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));

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java How To Program Late Objects Version

ISBN: 9780136123712

8th Edition

Authors: Paul Deitel, Deitel & Associates

Question Posted: