Write a class called Book that contains instance data for the title, author, publisher, and copyright date. Define the Book constructor to accept and initialize this data. Include setter and getter methods for all instance data. Include a toString method that returns a nicely formatted, multi-line description of the book. Create a driver class called Bookshelf, whose main method instantiates and updates several Book objects. In your driver class, call all the methods in the Book class. (Book.java and Bookshelf.java)
Sample output:
Title: Java Software Solutions
Author: Lewis & Loftus
Publisher: Pearson
Copyright: 2016
Title: Faces in Time
Author: Lewis Aleman
Publisher: Megalodon Entertainment
Copyright: 2010
Title: Purple Cow
Author: Seth Godin
Publisher: Portfolio
Copyright: 2002