MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? public class Test { public static void main(String [] args) { int I = 1; do while ( I < 1 ) System.out.print("I is " + I); while ( I > 1 ) ; } } |
| A. | I is 1 |
| B. | I is 1 I is 1 |
| C. | No output is produced. |
| D. | Compilation error |
| Answer» D. Compilation error | |