Solved

Which of the Following Statements Expresses Why the Following Code

Question 4

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