Millionaire Mode

Java Programming and IT Security Basics

Question 1 of 17

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); } }

  1. The program does not compile as j is not initialized
  2. The program compiles but does not run
  3. The program compiles and runs but does not print anything
  4. prints some value

Prize Money

15₹7 Crores
14₹1 Crore
13₹50,00,000
12₹25,00,000
11₹12,50,000
10₹6,40,000
9₹3,20,000
8₹1,60,000
7₹80,000
6₹40,000
5₹20,000
4₹10,000
3₹5,000
2₹2,000
1₹1,000