Summary

The information presented in this chapter is material you will be coming back to again and again and again when you write programs. Loops are a fundamental part of most programming languages. In several of the hours to come, you get a chance to manipulate graphics so you can produce animated effects. You couldn't do this without loops.

As you might expect, every one of Bart Simpson's chalkboard punishments has been documented on the World Wide Web. Visit http://www.snpp.com/guides/chalkboard.openings.html to see the list along with a Java applet that draws sayings on a green chalkboard.

Get SAMS Teach Yourself Programming with Java™ in 24 Hours, FOURTH EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.