Book

Completed Posted Nov 22, 2003 Paid on delivery
Completed Paid on delivery

Design and implement a Book class, and then use it with an instance of the Vector class to produce a simple model a school library. Your program should offer the user a menu with the following options.

Loan a Book

Return a Book

List Overdue Books

List all books

Add New Book

Remove Book

Quit

On exit, the program should automatically save the entire contents of the library (vector) to a disk file and then read it in when run again. Implement I/O objects of your choice.

## Deliverables

Implement Books in the library. They should have title, author, due date, status (in library or on loan) and number of times borrowed. The class should provide methods to loan and return books, to save and load books, as well as a constructor and a toString method. Book titles should be unique.

Tips:

You will need to search the Vector to find the book with the given title prior to loaning or returning it. You can do this with the .elementAt(i) method. If you have time, try experimenting with the .contains() and .indexOf() methods in the Vector class. To do so, define an equals method in your book class. This should take another book as a parameter and return true if that book's title is the same as the current one, else false.

You can use the Calendar Class to help you with Date utility function to help track start /end dates.

## Platform

Java

Engineering Java MySQL PHP Software Architecture Software Testing

Project ID: #3016128

About the project

7 proposals Remote project Active Nov 28, 2003

Awarded to:

ekkemu

See private message.

$2 USD in 3 days
(6 Reviews)
2.1

7 freelancers are bidding on average $4 for this job

lmxvw

See private message.

$4.25 USD in 3 days
(126 Reviews)
4.7
absolutredbull

See private message.

$4.25 USD in 3 days
(56 Reviews)
3.9
powermacstudiovw

See private message.

$4.25 USD in 3 days
(6 Reviews)
1.9
rosoftteam

See private message.

$4.25 USD in 3 days
(3 Reviews)
1.4
coderx2k

See private message.

$4.25 USD in 3 days
(0 Reviews)
0.0
garsher

See private message.

$4.25 USD in 3 days
(0 Reviews)
0.0