Question: In Java, Write a class called Book that contains instance data for the title, author, publisher, and copyright date. Define the Book construc- tor to
Write a class called Book that contains instance data for the title, author, publisher, and copyright date. Define the Book construc- tor 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. PP 4.7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
