Question: PP 4.7 Write a class called Book that contains instance data for the title, author, publisher, and copyright date. Define the Book constructor to

PP 4.7 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.
Step by Step Solution
3.40 Rating (141 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
