Đã Đóng

-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

Kĩ năng: Java

Xem nhiều hơn: queue data structure, mcq on stack and queue with answers pdf, dequeue big o, application of queue in data structure, programming questions on stacks and queues, stack in data structure with example, questions on queue data structure, stack and queue time complexity, 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

Về Bên Thuê:
( 4 nhận xét ) Allen, United States

ID dự án: #15847083

4 freelancer đang chào giá trung bình $35 cho công việc này

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 Thêm

$30 USD trong 1 ngày
(992 Nhận xét)
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 , Thêm

$50 USD trong 10 ngày
(15 Nhận xét)
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 [login to view URL] Proposed Thêm

$30 USD trong 2 ngày
(24 Nhận xét)
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 Thêm

$30 USD trong 1 ngày
(0 Nhận xét)
0.0