Em Andamento

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

Habilidades: Engenharia, Java, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: 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, utility function java, simple java library program, implement search java, book read, date class program

Acerca do Empregador:
( 11 comentários ) United States

ID do Projeto: #3016128

Premiar a:

ekkemu

See private message.

$2 USD em 3 dias
(6 Avaliações)
2.1

7 freelancers are bidding on average $4 for this job

lmxvw

See private message.

$4.25 USD in 3 dias
(126 Comentários)
4.7
absolutredbull

See private message.

$4.25 USD in 3 dias
(56 Comentários)
3.9
powermacstudiovw

See private message.

$4.25 USD in 3 dias
(6 Comentários)
1.9
rosoftteam

See private message.

$4.25 USD in 3 dias
(3 Comentários)
1.4
coderx2k

See private message.

$4.25 USD in 3 dias
(0 Comentários)
0.0
garsher

See private message.

$4.25 USD in 3 dias
(0 Comentários)
0.0