PPT Slide
Which loop construct would you use if...
Java Iteration Constructs: Review
You need to perform a series of steps exactly N times?
You need to traverse a linked list of unknown size, and stop when you find a certain value?
You need to perform a series of
steps at least once, and continue
performing these steps for an