68 464
Assignments Done
98,6%
Successfully Done
In December 2018

Answer to Question #77317 in Java | JSP | JSF for Renier Markram

Question #77317
Suppose that you are in charge of customer service for a certain business. As phone calls come in, the name of the caller is recorded and eventually a service representative returns the call and handles the request. Write a class ServiceRequests that keeps track of the names of callers. The class should have the following methods:
addName (name) – adds a name to the list of names. Throws a ServiceBackUpException if there is no free space in the list.
removeName (name) – removes a name from the list. Throws a NoServiceRequestException if the name is not in the list.
getName(i) – returns the i’th name in the list.
getNumber – returns the current number of service requests.
Write a program that uses an object of type ServiceRequests to keep track of customers that have called. It should have a loop that, in each iteration, attempts to add a name, remove a name, or print all names. Use an array of size 10 as the list of names.

Expert's answer
Dear Renier Markram, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions