Computer Science > Research Paper > Adrian College - CIS 2540CSCI 2540 Assignment 6 100 points Due date Tuesday, Oct. 22 (before (All)

Adrian College - CIS 2540CSCI 2540 Assignment 6 100 points Due date Tuesday, Oct. 22 (before

Document Content and Description Below

CSCI 2540 Assignment 6 100 points Due date: Tuesday, Oct. 22 (before class) In this assignment, you will design and create an application that manages a small library with a collection of books usi... ng ArrayList. Information about a book includes ISBN, title, author, publisher, and publishing year. The catalog of books and the information of each book are stored in a text file before and after the program is executed. You will need to write the code for one interface (BookCatalogInterface) and three classes (Book, BookCatalog, and Library Application), for which the details are given below. Interface BookCatalog Interface. The interface file for the Book Catalog. This interface should include the following methods: loadData-this method should have a file name as the parameter. The method loads the data containing all the books from a given file. searchForBook - this method should have a title as the parameter. It should return the Book object if found, or null if not found. addBook - this method is used to add a new Book. It should have five parameters that represent the ISBN, title, author, publisher, and publishing year. If the title is already in the book catalog, then a message should be printed informing the user that the book already exists. This method returns a boolean value. If the book is added, it returns true; otherwise it retums false. updateBook - this method is used to update the information of an existing book. It should have five parameters that represent the ISBN, title, author, publisher, and publishing year. If the title is not currently in the book catalog, then a message should be printed informing the user that the book [Show More]

Last updated: 2 years ago

Preview 1 out of 9 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$5.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

70
0

Document information


Connected school, study & course


About the document


Uploaded On

Mar 11, 2021

Number of pages

9

Written in

Seller


seller-icon
Muchiri

Member since 4 years

209 Documents Sold

Reviews Received
19
5
1
1
6
Additional information

This document has been written for:

Uploaded

Mar 11, 2021

Downloads

 0

Views

 70

Document Keyword Tags


$5.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·