Đã Đóng

Java Programmng Assignment and Project

CUS 1126 Intro to Data Structures – Exam 2 (take home)

Instructions: For the program below, upload the project (in your eclipse-workspace folder) as a zip file.

Implementing a priority queue to manage customers

In this program, we will implement a priority queue to manage customers of a business. Note that we are not using the built-in PriorityQueue class, rather we are building our own priority queue of Customer objects. Each customer has a priority number (indicating the order in which they will be served, with the smaller values being served first).

Implement a class called Customer that includes an int priority, a String name, and a reference to the next Customer in the queue. The Customers will be ordered by priority in the queue. Implement another class called CustomerPriorityQueue that contains a reference to the first Customer in the queue, a constructor to initialize that reference to null, along with the following methods:

public void addCustomer(Customer c): Adds a Customer object to the queue in the correct position, ordered by priority

public Customer removeCustomer(): Removes and returns the first Customer in the queue.

isEmpty(): A boolean method that returns true if the queue is empty, false otherwise.

Then, create a class called ManageCustomers in which we will have a main method. Here, we will create a CustomerPriorityQueue of customers called customerQueue. Create a menu to allow a user to manage a customer queue with the following options (note that the menu should repeat until the user selects option 4 – Exit):

Manage your customers with the following options: 1 – Add new customer 2 – Process customer with highest priority 3 – Process all customers in order of priority 4 - Exit

The options will do the following:

1 – Add new customer: Obtain user input for the customer’s priority and name, create new Customer object, and add to queue.

2 – Process customer with highest priority: Remove first customer and display the priority and name of customer being processed.

3 – Process all customers in order of priority: Remove all customers and display the priority and name of the customers.

Kĩ năng: Java, JavaScript, Programming

Xem nhiều hơn: java scrabble assignment, assignment project management, java menu restaurant project, java file web project, java outsourcing small project, definition java program school project, java read file project, role spring java spring hibernate project, need java programmer finish project, free java script menu project, java game netbeans project, junior java home school project, java car rental project, hire programmer india java jsf per project, java assignment project, simple assignment project java

Về Bên Thuê:
( 6 nhận xét ) Lagos, Nigeria

ID dự án: #28398401

21 freelancer chào giá trung bình$31 cho công việc này

paulprabhakarand

Hi Gentleman, I am a technology expert, more than a decade I am developing and delivering applications on Java based technologies. I am a certified Java professional. My logical thinking and problem solving skills are Thêm

$60 USD trong 3 ngày
(67 Nhận xét)
6.2
igor7stepanov20

Hello. I'm pretty happy to bid on this interesting project. I read your description carefully and I think that I am the developer you are looking for and are suitable for this task. I have rich experience in Java, Data Thêm

$50 USD trong 1 ngày
(17 Nhận xét)
4.9
engrkhanzain

I am a Java Developer, I am not ask you about my skills you just see my previous reviews which are given below Below are some links to check my working https://www.freelancer.in/projects/java/Retail-Java-site-product-s Thêm

$50 USD trong 1 ngày
(25 Nhận xét)
4.6
kekemon

Hello, I have gone though your requirement. I have 6+ years software development working experience of Java. I have done lots of java task. you can check my reviews. I believe I can do this task very easily. I believe Thêm

$25 USD trong 1 ngày
(22 Nhận xét)
4.3
benmazouz

Let's start NOW Thêm

$30 USD trong 2 ngày
(14 Nhận xét)
4.1
agrsumit08

Hi, I have been working on Node.js ,Javascript and Java for the past 4 years. I have a very good understanding of data structures and algorithms. I have done a lot of projects. Some of them are as follows. 1. I wrote Thêm

$30 USD trong 1 ngày
(11 Nhận xét)
3.5
zajjithvedha

Hi, I have a good experience in Java and Programming, etc... But I doesn't have lot of reviews in freelancer for these relevant skills. But I confirm you I can do this project very well. Also if you want to negotiate Thêm

$30 USD trong 3 ngày
(7 Nhận xét)
3.3
harfarooqi

Hi I have 4 years experience in java programming language. Please provide more details of the work Best

$20 USD trong 7 ngày
(9 Nhận xét)
3.0
ahmedbencheikh

How do you do! Hi There, I've reviewed your requirements.I have 4 years experince in c/C++ Python/java/php. Client's idea + Programmer's good coding is the perfect result. As shown on my profile, I have a lot of experi Thêm

$100 USD trong 1 ngày
(1 Nhận xét)
1.4
techleela

Hi, We are a team of experienced Java developers with expertise in Algorithms and Data Structures. We are known for delivng projects in time, with correctness and accuracy. Please feel free to drop a message.

$10 USD trong 2 ngày
(2 Nhận xét)
0.9
rabbiamahum44

Hi, I have read your description and you would be glad to know that this is very easy task for me as I am a lecturer from last 5 years. I am teaching java and c++ languages for data structures. you can visit ny channel Thêm

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

Hey! I’m Sani and I’m sure I’ll be able to help you complete this project within 24 hours. I’m also a student and I’m studying BSc Computer Science. I’m very skilled in Java and I’ve done three courses on it over the p Thêm

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

Hi there, I have worked on many Java projects and this is quite an easy task to work on. I have a working experience of more than 3 years in [login to view URL] task can be easily completed between 1-2 [login to view URL] allot me this Thêm

$10 USD trong 2 ngày
(1 Nhận xét)
0.0
sakshamgoyalswm

Hi, I am proficient in Data Structures and Algorithms and can easily implement any data structure and algorithm in java and c++. I have done various projects in past. I can easily complete your this project. looking fo Thêm

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

Hi i am java expert and i have gone through your project details , i have done lot of work in java and can do this project for [login to view URL]

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

I can build your project nicely because I'm doing my Bachelors in Software Engineering and encounter these kind of projects in Java almost everyday which has helped me in having a nice grip over the language. On the ot Thêm

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

I've looked at your attachment and I can implement the Queue as is specified. I can get working immediately, even.

$25 USD trong 1 ngày
(0 Nhận xét)
1.4
Anguchamy

It’s quite easy to solve. You have attached the sample pdf and I have looked into it. It will be easy to solve as I have exp in java

$20 USD trong 2 ngày
(0 Nhận xét)
0.0
gulfamhassan49

Hi, I read the job you have posted. I'm a well expert in this type of project virtual assistant. I've done many projects related to your once. I've more than 5 years of experience working like this. Accuracy and a keen Thêm

$20 USD trong 7 ngày
(0 Nhận xét)
0.0
Sanwal107

"HI sir, i'm interested to work no your project, we were seen your post and requirement and we can complete your project with our great responsibility and provide you a good quality and error free project.

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