

Many of the designations by manufacturers and seller to distinguish their products are claimed as trademarks.

Credits and acknowledgments borrowed from other sources and reproduced, with permission, in this textbook appear on appropriate page within text. Composition and Art: Nesbitt Graphics, Inc. Cover Art: Michael Shivers / Alamy Full-Service Project Management: Rose Kernan, Nesbitt Graphics, Inc. Editor in Chief: Michael Hirsch Editorial Assistant: Stephanie Sellinger Marketing Coordinator: Kathryn Ferranti Managing Editor: Jeffrey Holcomb Production Project Manager: Heather McNally Senior Manufacturing Buyer: Carol Melville Art Director: Linda Knowles Cover Designer: Joyce Cosentino Wells Text Designer: Jerilyn Bockorick, Nesbitt Graphics, Inc. This page intentionally left blank J ava ™ 3rd Edition S O F T WA R E S O L U T I O N S for AP* Computer Science JOHN LEWIS WILLIAM LOFTUS CARA COCKING Addison-Wesley Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto Delhi Mexico City Sao Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo *AP and Advanced Placement Program are registered trademarks of The College Board, which was not involved in the production of, and does not endorse, this product. J ava ™ 3rd Edition S O F T WA R E S O L U T I O N S for AP* Computer Science *AP and Advanced Placement Program are registered trademarks of The College Board, which was not involved in the production of, and does not endorse, this product. Appendix F: Responsible Use of Computer Systems. The Iterator and ListIterator Interfaces. Association Between Objects of the Same Class. 3.9 Drawing Using Conditionals and Loops. Local-area Networks and Wide-area Networks.
