Question: Using Java, make a class book with the following features author() bookName() bookAge() maxPages() genre(fantasy, romance,science fiction, etc) theCondition() Use the methods below status() sets

Using Java, make a class book with the following features
author()
bookName()
bookAge()
maxPages()
genre(fantasy, romance,science fiction, etc)
theCondition()
Use the methods below
status() sets condition to false
A constructor to set default values
anniversary - increase age by 2
read(int page) - if page is > maxPages print too long if pages <= maxPages print just right
Include getters for the values

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!