Update Book.java

must be in the same project as Author.java or you have to change the build path to import. change package title to whatever suits you.