Question: This is java problem. I have writen the codes i am not sure what i do wrong, please fix it or add to make it

This is java problem. I have writen the codes i am not sure what i do wrong, please fix it or add to make it works. I am not sure what did i do wrong and why it wont compile this is the direction:

-The LibraryBook class is a Book, but library books also have a call number, and the call number allows books to be ordered on the shelves. (The ordering is given by a compareTo specified in the Comparable interface. In addition, because many library books can circulate (be checked out and returned), each library book has a circulation status (e.g., on shelf, checked out, permanently in reference collection).

This is java problem. I have writen the codes i am not

this is my code i am not sure the extends or impelement is correct. Comparable what is this ? i am sure i dont do this part or missing part.

sure what i do wrong, please fix it or add to make

Class LibraryBook The LibraryBook class models information common for library books. In addition to author, title, and ISBN, library books have call numbers, and library books are stored on the shelves in order by call number. Further, many library books may be able to circulate. In addition to fields and methods of books, any library book has: Fields: call number Constructors and methods: a constructor using 4 parameters for an author, title, ISBN number, and call number . . getters and setters checkout handles processing for a patron to check out a book. A due date also is recorde . . returned handles processing for when a book is returned after having been checked out. circulationStatus indicates whether the book is on the shelves, checked, or non-circulating in the reference collection . .compareTo allows comparison/ordering of library books, following the format Java's Comparable interface /*Returns: 0 if call numbers of this and LibraryBook match 0 otherwise tostring from Book is augmented with a circulation status and call number . Since checkout, returned, and circulationStatus depend upon subclasses (i.e., whether book is circulating or in the reference collection), these methods are abstract - identified but not implemented Although library books can be ordered by call number, these call numbers are not present in the Book. Thus, LibraryBook can implement Java's Comparable

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!