public class BookRunner { public static void main(String args[]) { Book b = new Book(); System.out.println(b); System.out.println(b.getAuthor()); Book b2 = new Book(new Author("Dean Koontz", 17, 1945, 125000000, true), "Odd Thomas", "Fantasy", 436, 2003); System.out.println(b.whoIsOlder(b2)); b.getAuthor().whoIsRicher(b2.getAuthor()); System.out.println(b2); Author a = new Author("JRR Tolkien", 28, 1892, 50000000, false); Book b3 = new Book(a, "The Hobbit", "Fantasy", 320, 1937); System.out.println(b3); System.out.println(a); b3.whoIsOlder(b2); } }