public class BookShelf { public static void main(String[] args) { Book b1 = new Book("Distributed Systems Concepts and Design", "Coulouris, Dolimore, Kindberg", "Addison Wesley", 2005); //test toString method System.out.println(b1); //test getTitle method System.out.println("Title: " + b1.getTitle()); //test setAuthor method b1.setAuthor("Coulouris, Dollimore, Kindberg"); //test getAuthor method, verify set worked correctly System.out.println("New Author: " + b1.getAuthor()); System.out.println("\n**************\n"); Book b2 = new Book("Java Software Solutions", "Lewis and Loftus", "Addison Wesley", 1963); //test toString method System.out.println(b2); //test getPublisher method System.out.println("Publisher: " + b2.getPublisher()); //test setCrdate method b2.setCrdate(2009); //test getCrdate method, verify set worked correctly System.out.println("New Copyright Date: " + b2.getCrdate()); } }