

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