Question: in java 2. Create a book inyentory system. Youli need a book class and an author class (see attached class diagrams for private data and

in java
in java 2. Create a book inyentory system. Youli need a book

2. Create a book inyentory system. Youli need a book class and an author class (see attached class diagrams for private data and methods). The main should have an arroylist where you will store a minimum of three books (minimum of two authors). You can get the data from the user, or you can hardcode it. Display your "inventory" in a readable way. Bonus: Let your book class implement the Comparator interface so that you can sort the books. Youll need to implement the compareTo method 2. Create a book inyentory system. Youli need a book class and an author class (see attached class diagrams for private data and methods). The main should have an arroylist where you will store a minimum of three books (minimum of two authors). You can get the data from the user, or you can hardcode it. Display your "inventory" in a readable way. Bonus: Let your book class implement the Comparator interface so that you can sort the books. Youll need to implement the compareTo method

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!