Special Features Cooperative Coding Determine a Win in Tic-Tac-Toe . . . . . . . . . . . . . .21 Artificial Intelligence . . . . . . . . . . . . . . . . . . . . . . . .47 Devices Using Java . . . . . . . . . . . . . . . . . . . . . . . . . .68 Inputting and Outputting Data . . . . . . . . . . . . . . .94 Comparing Java Expressions . . . . . . . . . . . . . . . .128 Making Letters . . . . . . . . . . . . . . . . . . . . . . . . . . . .160 Drawing a Train . . . . . . . . . . . . . . . . . . . . . . . . . . .198 Divisibility Rules . . . . . . . . . . . . . . . . . . . . . . . . . . .234 Reading a Statistics File . . . . . . . . . . . . . . . . . . . . .264 Coding a Form Letter. . . . . . . . . . . . . . . . . . . . . . .298 Homework Schedule Helper . . . . . . . . . . . . . . . .320 Program Modification . . . . . . . . . . . . . . . . . . . . . .355 Character Movement. . . . . . . . . . . . . . . . . . . . . . .390 Sleep Game . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .432 Bureau of Labor Statistics Speaker . . . . . . . . . . .453 Tech-Support Scams . . . . . . . . . . . . . . . . . . . . . . .474 Language Arts and Java Algorithm Exposition . . . . . . . . . . . . . . . . . . . . . . .17 Machine Learning. . . . . . . . . . . . . . . . . . . . . . . . . . .34 Describing Error Types . . . . . . . . . . . . . . . . . . . . . .64 Scuba Diving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 Health Insurance. . . . . . . . . . . . . . . . . . . . . . . . . . .106 Computer Terminology. . . . . . . . . . . . . . . . . . . . .137 Haiku. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169 Applying AND and OR . . . . . . . . . . . . . . . . . . . . .225 Poetic Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . .246 Parts of Speech Game . . . . . . . . . . . . . . . . . . . . . .274 Translations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309 Music Library Classes . . . . . . . . . . . . . . . . . . . . . .332 William Shakespeare . . . . . . . . . . . . . . . . . . . . . . .382 Effective GUI Design . . . . . . . . . . . . . . . . . . . . . . .400 xviii