Previous Section  < Day Day Up >  Next Section


Once your version of Credits works like the one shown in Listing 6.2, give yourself some credit, too. You're writing longer Java programs and dealing with more sophisticated issues each hour. Like variables, strings are something you'll use every time you sit down to write a program.

At the beginning of The Piano, Holly Hunter's Ada lost her piano when her new husband refused to make his Maori laborers carry it home. Luckily for you, the ability to use strings in your Java programs cannot be taken away by an insensitive newlywed, or anyone else. You'll be using strings in many ways to communicate with users.

By the Way

If this hour's trivia related to The Piano and the films of director Jane Campion has sparked your curiosity, or if you just dig quiet women in braids, visit the following World Wide Web sites:

  • Magnus Hjelstuen's unofficial The Piano website, with cast descriptions, storyline discussion, and comprehensive details about his favorite movie can be found at

  • The Internet Movie Database, a voluminous and searchable database of movies, TV shows, actors, directors, and other related topics, can be found at

    Previous Section  < Day Day Up >  Next Section