Java Programming   Java Programming
 |Sofia Home | Content Gallery |
Home
Syllabus
Schedule
Lessons
Assignments
Resources

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.

Back to Top
Content Developed by Stephen Gilbert, Licensed under a Creative Commons License
Published by the Sofia Open Content Initiative
© 2004 Foothill-De Anza Community College District &The William and Flora Hewlett Foundation