Answered step by step
Verified Expert Solution
Question
1 Approved Answer
-A ReferenceBook is a type of Library Book that is housed in a specified collection (e.g., a reference area in Tioga, or in the Snoqulamie
-A ReferenceBook is a type of Library Book that is housed in a specified collection (e.g., a reference area in Tioga, or in the Snoqulamie Building), and reference books do not circulate.
I am not sure what to do in this but my code is below i try my best please fix it
Class ReferenceBook The ReferenceBook class models a reference book. Reference books are housed in a specific collection (e.g., in Tioga, or in the Snoqu?amie Building), and reference books do not circulate. In addition to fields and methods of library books, a reference book has: Fields: .a constructor using 5 parameters for an author, title, ISBN number, call number, and collection getters and setters that the patron "cannot check out a reference book" returned should print "reference book could not have been checked out . checkout is not allowed for reference books, so the method should print return impossible". .circulationStatus should return "non-circulating reference book". tostring from LibraryBook should be augmented with the collection information and circulationstatus implemented With checkout, returned, for LibraryBook, this is a fully-implemented class
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started