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

Κλειστή
Αναρτήθηκε πάνω από 6 χρόνια πριν

$10-30 USD

Πληρωμή κατά την παράδοση
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
Ταυτότητα εργασίας: 15847083

Σχετικά με την εργασία

4 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 6 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
4 freelancers δίνουν μια μέση προσφορά $35 USD για αυτή τη δουλειά
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 σε 1 ημέρα
4,9 (992 αξιολογήσεις)
7,5
7,5
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 σε 10 ημέρες
4,9 (15 αξιολογήσεις)
4,7
4,7
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 σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
Allen, United States
4,6
4
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Σεπ 18, 2017

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.