Solved

Which of the Following Statements Expresses Why the Following Code

Question 17

Multiple Choice

Which of the following statements expresses why the following code is considered bad form?
For (rate = 5; years-- > 0; System.out.println(balance) )
) . .
I. Unrelated expressions in loop header
II. Doesn't match expected for loop idiom
III. Loop iteration is not clear


A) II and III only
B) I and II only
C) I and III only
D) I, II, and III

Correct Answer:

verifed

Verified

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

Related Questions