已关闭

-handle the stack structure when applying push and pop operations to add or fetch and delete the nodes -handle the queue structure when applying enque and deque operations to add or fetch and delete the nodes.

Requirement Statement:

Write the application to allow the librarians to use Stack or Queue structure to work with books.

Suppose the library only keep 2 categories of books: some books are only read at the library (Book) and some books can be checked out to bring home (BorrowedBook)

Each information of book (Book) has the following information: bookID (string), ISBN (string), title (string), writer (string), publisher (string)

For books that can be checked out (BorrowedBook) should have more information: Checkout date (string) and due date (string)

For each structure, the librarians can

1. Add a book

2. Remove a book

3. Display the book at top (or at front of Queue)

4. Show all books in the structure

TASK DISPLAY THE BOOK AT TOP (or AT FRONT FOR THE QUEUE)

-display the book at top (or front) or display the message box: “The Stack is empty” or “The queue is empty”

TASK SHOW ALL BOOKS

-display all the books or borrowed book on the stack (or queue)

INSTRUCTION HOW TO DO THE LAB PART1

ANALYZE :

-You should read the requirement again to see what the requirement gives you and what it asks you to do then write them on the paper.

-The Book and BorrowedBook should have Inheritance relationship

-Also, you need to apply polymorphism in the main to deal with Book object and BorrowedBook

技能: Java

查看更多: stack and queue in data structure, queue program in data structure, queue implementation in data structure, queue definition in data structure, queue applications in data structure, queue application in data structure, queue algorithm in data structure, push pop game, priority queue program in data structure, priority queue example in data structure, priority queue algorithm in data structure, data structure stack and queue tutorial, cardboard box packaging designs for instruments products custom with handle contemporary modern edgy light up designs, applications of stack and queue in data structure, application of stack and queue in data structure, elastix show people queue, project data structure project using queue stack, short stack push bot

关于此雇主:
( 4个评论 ) Allen, United States

项目ID: #15847083

4 威客就此工作平均出价 $35

it2051229

I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested. Thanks. Relevant Skills and Experience Java Programming Proposed Milestones $30 USD - P 更多

$30USD 在1天里
(992条评论)
7.5
achouriissam

Hello, My name is Achouri Issam. I have over three years experience in Software Engineering and i have a good Knowledge with Java, JavaEE,Android,IOS, Spring, Spring MVC, EJB,Struts2, Hibernate, JSP, Servlet , 更多

$50 USD 在10天内
(15条评论)
4.7
neernab

HI, we are a team of java and python developers who ensure complete customer satisfaction with on time task completion. Relevant Skills and Experience please find our portfolio below [url removed, login to view] Proposed 更多

$30 USD 在2天内
(24条评论)
4.1
cwasyl

I have 10+ years industry experience with JAVA. Your requirement list is very clear and I would use 5 classes for this. A Book class, a BorrowedBook class which extends on Book. The other 3 classes would be: BaseBo 更多

$30USD 在1天里
(0条评论)
0.0