Solved

What Will Be Printed After the Following Code Is Executed

Question 27

Multiple Choice

What will be printed after the following code is executed? for (int number = 5; number <= 15; number +=3)
System.out.print(number + ", ") ;


A) 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
B) 5, 8, 11, 14, 17,
C) 5, 8, 11, 14
D) This is an invalid for statement.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions