Question: Create a class called Book. Book class should have: Variables: name, author ( type should be Author. You will need to create Author class )

Create a class called Book. Book class should have:
Variables: name, author (type should be Author. You will need to create Author class), ISBN,
price.
Constructor:
o constructor which takes 4 parameters: name, author, ISBN, and price
Methods:
o setters and getters
o toString
o equals
Author Class:
You will also need to create an Author class which contains first name, last name and birthday.
Design your own constructor/s and method/s
Birthday should be Java predefined LocalDate type.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!