Part III

Controlling the Flow

9780470371749-pp0301.eps

In this part . . .

A computer program is like a role-playing video game. It’s not the kind of game that involves shooting, punching, or racing. It’s a game that involves strategies. Find the golden ring to open the secret passageway. Save the princess by reciting the magic words. It’s that sort of thing.

So in this part of the book, you create passageways. As your program weaves its way from one virtual room to another, the computer gets closer and closer to the solution of an important problem.

Hey, admit it. This sounds like fun!

Get Beginning Programming with Java® For Dummies®, 3rd 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.