Java Programming and IT Security Basics
Casual Mode - Take your time!
1 / 17
Correct
0
Incorrect
0
Score
0%
Multiple Choice
What is the output of the following program? class example { public static void main(String args[]) { int j; do { j++; } while(j < 0); System.out.println(j); } }
- The program does not compile as j is not initialized
- The program compiles but does not run
- The program compiles and runs but does not print anything
- prints some value