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
Q10: In the for statement, if the logical
Q12: Which executes immediately after a continue statement
Q14: int x = 27;<br>Int y = 10;do<br>X
Q18: What is the value of counter after
Q20: int i;for (i = 0; i <=
Q22: Which of the following does not have
Q26: In the case of the sentinel-controlled while
Q33: Control variables are automatically initialized in a
Q37: The output of the following Java code
Q39: A break statement is legal in a