Question: This project needs to be done in Java. Thank you for your help. Objectives: *Create a queue data structure. Description: For this assignment you will

 This project needs to be done in Java. Thank you for

This project needs to be done in Java. Thank you for your help.

Objectives: *Create a queue data structure. Description: For this assignment you will be writing your own classes to implement a queue data structure. You will write your own queue data structure, not the one supplied in the Java Collections library. This means that you will write your own constructor(s), methods, and instance variables. You will implement this queue using a LinkedList type of data structure The IPhone77 is going to be released in three days. It's very important to you to be one of the first people to own this new piece of technology. So, you decide to line up outside the Apple Store in the Long Beach Marina the night before. When you and your friends get there, you see a line in front of the store. You realize that this line is "first come first served". You place yourselves in the next available spots in the line. Two hours before the store opens, a sales person comes out of the store with paper and pencil and goes through the entire line getting each person's name and counting the number of people in line. He puts up a sign at the end of line stating that no one else may join the line. Every few minutes after that, the store rep checks the beginning of the line to make sure that it is the same person. When the store finally opens, the people in line are sold phones. Make sure you use appropriate exception handling

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!