Lesson 6 - Iteration
Selection is how computers decide between different actions, as you saw in the last lesson. Computers can also be trained to repeat an action until a certain goal is reached. This facility is called iteration, and it is the subject of this lesson.
Lesson 6 sections are as follows:
| 6.1 Introduction to Loops |
Learn about different types of Java loops and about a loop's bound and goal. |
| 6.2 Counted Loops |
Learn how to create loops that use a counter to control repetitions. |
| 6.3 Indefinite Loops |
Learn how to write loops that test a condition to control repetitions. |
| 6.4 Java Jumps |
Learn how to use Java's two jump statements: break and continue: to control your loops. |
| 6.5 Console Apps |
Learn to write, compile and run console-mode applications with Java. |
| 6.6 Applet Parameters |
Learn how to use the HTML applet
parameter tag to pass arguments to your applets.
|
Continue with section 6.1 Introduction to Loops.
|