PPT Slide
Java Basics: Iteration Constructs
- In Pseudocode, we had a single iteration construct, flexible enough to be used in all iteration contexts.
- Java, like most programming languages does not provide a single flexible construct.
- Instead, Java offers three special case loop constructs, each good for a particular context.
- Do not get accustomed to only one
of them and try to use it for