

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the program?
int i = 1, j = 10; do { if(i > j) { break; } j--; } while (++i < 5); System.out.println("i = " + i + " and j = " + j); |
A. | I = 6 and j = 5 |
B. | I = 5 and j = 5 |
C. | I = 6 and j = 4 |
D. | I = 5 and j = 6 |
Answer» E. | |