

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the program?
int i = 0, j = 5; tp: for (;;) { i++; for (;;) { if(i > --j) { break tp; } } System.out.println("i =" + i + ", j = " + j); |
A. | I = 1, j = 0 |
B. | I = 1, j = 4 |
C. | I = 3, j = 4 |
D. | Compilation fails. |
Answer» E. | |