Multiple Choice
What is the output of the following Java code? int num = 15; while (num > 0) num = num - 3; System.out.println(num) ;
A) 0
B) 3
C) 12
D) 15
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q19: The above code is an example of
Q20: Which of the following is the initial
Q21: Which of the following is NOT a
Q22: The above code is an example of
Q23: What is value of x after the
Q25: A syntax error will result if the
Q26: Which of the following does not have
Q27: If a continue statement is placed in
Q28: What is the tenth Fibonacci number in
Q29: Suppose sum and num are int variables,