Multiple Choice
What is the output of the following code? int count; int num = 2; for (count = 1; count < 2; count++) {num = num + 3; System.out.print(num + " ") ;} System.out.println() ;
A) 5
B) 5 8
C) 2 5 8
D) 5 8 11
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q13: Which of the following is the logical
Q14: A loop is a control structure that
Q15: The output of the Java code, assuming
Q16: The output of the Java code, assuming
Q17: Which of the following is the update
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