Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

I am not sure what to do in this but my code is below i try my best please fix it

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

15.2 Explain the costs associated with employee turnover.

Answered: 1 week ago