Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Book Store Project Design and implement a program that represent a book store with the following classes. Store class that contain the store name, phone,

Book Store Project Design and implement a program that represent a book store with the following classes. Store class that contain the store name, phone, number of books in the store and the set of books. Book class contains ID number, ISBN number, title, number of pages, language, price and author. The store has two types of books (Paperback or E-book). The paperback book has shipping weight and number of books in stock. The E-book has the size of the book in MB and download URL. The book author by itself is a class that contains the first name, last name and birthdate of the author. Note that book ID number should be generated automatically and unique for each book. For each class, there should be methods to set, get and print the information of each class. The store class has two methods, one to add a book to the store and other one to remove it. You are requested to submit the following: UML diagram that represent the classes that are described above and the relationship between them. The code of each class. The store test class that has the main method. It should do the following: ? create a store object with following information (Jarir book store, Phone is 0966505730071) ? Add the following books: Paperback books:

ID ISBN Title No.Pages Price Weight kg No InStock Author 1st nam Author 2nd name Author BD
1 0133807800 Java How to Program 1198 400 0.78 1 Paul J. Deitel 1979
3 13-978-0-59600987-8 Web Design in a Nutshell: A Desktop Quick Reference 796 250 0.45 2 Jennifer Robbins 1987
4 1118808487 Data Structures and Algorithms in Java 720 200 0.5 3 Michael Goodrich 1999

E-books

ID ISBN Title No. Pages Price Size MB URL Author 1st name Author 2nd name Author BD
2 1871516574 The EBOOK on Computer Design 235 100 25 https://books.google.com.s a/books/The_Book_On_C omputer_Design Jerome Heath 1988
5 1871516412 Computers and Society 163 180 15 https://books.google.com.s a/books/Computer_Society Colin Beardon 1988
6 9780596553036 Time Management for System Administrators: Stop Working Late and Start Working Smart 228 80 17 https://play.google.com/sto re/books/details/Thomas_ A_Limoncelli_Time_Man agement_for_System_Ad m Thomas Limoncelli 1977

Your submission should include the following: ? UML diagram ? Classes files *.java (6 files) Put all files in a folder named like (Student ID_FirstName_LastName). The submission deadline will be Thursday (1439-8-10).

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

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions

Question

How does household finance tie into financial planning?

Answered: 1 week ago