Design and implement a class called book that contains


Design and implement 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, multiline description of the book.
Create a driver class called BookShelf, whose main method instantiates and updates several Book objects.
Note: the program must have:
- Two classes Book and BookShelf.
- Accept the data from the user using Scanner Class in the Main class (BookShelf).
- Passing data to constructor.
- Display the following output:
Please enter the following information:
Enter Book Title: Object-Oriented Programming with Java An Introduction to.
Enter author: CWU. Thomas
Enter publisher:McGraw-Hill
Enter Copyright Date: 6002
**********************************************************************
Book Information:
Title: An Introduction to Object-Oriented Programming with Java.
author: C. Thomas WU
publisher: McGraw-Hill
Copyright Date: 2006
**********************************************************************

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Design and implement a class called book that contains
Reference No:- TGS0132302

Expected delivery within 24 Hours