Question
Which type of loop has three segments within parentheses?
- A. do-while loop
- B. for (traditional)
- C. for-each
- D. while
B.
Note
A traditional for loop is best known for having an initialization statement, condition statement, and update statement.
Option B is correct.
PreviousNextRelated