I'm just learning Java, so this may be entirely wrong. What I'd try is to make your string author declarations as Author author (in your book class -- assuming your Author class name is capitalized...