Summary

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 ...

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.