Find Jobs
Hire Freelancers

-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.

$10-30 USD

Avslutat
Publicerad över sex år sedan

$10-30 USD

Betalning vid leverans
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
Project ID: 15847083

Om projektet

4 anbud
Distansprojekt
Senaste aktivitet sex år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
4 frilansar lägger i genomsnitt anbud på $35 USD för detta uppdrag
Använd avatar
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 - Project Milestone
$30 USD Om 1 dag
4,9 (992 omdömen)
7,5
7,5
Använd avatar
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 , JPA, JSF, Primefaces, Webservices. I have a Big Knowledge,an excellent experience in reporting business intelligence (JaspeReport, Birt), and with a database design and managment. Also i work perfectly with Google maps API and social networks APIs(facebook, twetter, instagram). It is with pleasure that I make myself available to work with you. Looking forward to hearing from you
$50 USD Om 10 dagar
4,9 (15 omdömen)
4,7
4,7
Använd avatar
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: BaseBookStack interface: Defines the methods structure to add/remove/display/show BookStack class implementing BaseBookStack interface: Concrete code using a Stack to perform those functions BorrowedBookStack class implementing BaseBookStack interface: Concrete code using a Queue to perform those functions The last 3 classes are optional - you could instead have a single Main class that defines 1 Queue and 1 Stack then overload methods, but that is not as pretty. One other thing, is thread-safety important? If the app is single threaded you could skip that, otherwise would need to synchronize the lists to protect from any possible thread access errors
$30 USD Om 1 dag
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för UNITED STATES
Allen, United States
4,6
4
Verifierad betalningsmetod
Medlem sedan sep. 18, 2017

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.