Lengkap

Book

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

Kemahiran: Kejuruteraan, Java, MySQL, PHP, Kejuruteraan Perisian, Ujian Perisian

Lihat lagi: vector remove, vector library, simple vector library, read vector, new start loan program, library vector, i need a new author to read, find the author, find a book author, find a book, file status 22, define vector in java, date utility, c vector library, find a book title, book offer, java file utility, java class library, simple java function, java simple function

Tentang Majikan:
( 11 ulasan ) United States

ID Projek: #3016128

Dianugerahkan kepada:

ekkemu

See private message.

$2 USD dalam 3 hari
(6 Ulasan)
2.1

7 pekerja bebas membida secara purata $4 untuk pekerjaan ini

lmxvw

See private message.

$4.25 USD dalam 3 hari
(126 Ulasan)
4.7
absolutredbull

See private message.

$4.25 USD dalam 3 hari
(56 Ulasan)
3.9
powermacstudiovw

See private message.

$4.25 USD dalam 3 hari
(6 Ulasan)
1.9
rosoftteam

See private message.

$4.25 USD dalam 3 hari
(3 Ulasan)
1.4
coderx2k

See private message.

$4.25 USD dalam 3 hari
(0 Ulasan)
0.0
garsher

See private message.

$4.25 USD dalam 3 hari
(0 Ulasan)
0.0