📚 Practice Mode
Java Programming and IT Security Basics
Learn at your own pace with hints and detailed explanations
1 / 17
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