Add to favorites
Nederlandse versie: Consejeros Gratis adviseurs Usa version: Advisors 4 Free Version française: Conseils Gratuits Versione italiana: Belgische versie: Versión española : Consejeros Gratis Deutsche Version: Gratis Beraten
Current location:Home » Computers » Programming » Java & JavaScript Programming
Advertise on this site?

Ask a Question?

Ask a question about Java & JavaScript programming online. You'll receive an answer of a Java & JavaScript programming Specialist.

Do you have a question over the topic Java & JavaScript programming? Click here. More questions about Java & JavaScript programming.

Current Administrator for the topic Java & JavaScript programming:
Name: Zrdnpmgfx
Business name: Khbjvuguymjuycwo
Reaction time: hours
Rating: 0.0 (max. 10)
More informatins on Zrdnpmgfx can be found in his profile page.

Become advisor?

RSS about Java & JavaScript programmingQuestions about Java & JavaScript programming via RSS. Click here.
RSS about Java & JavaScript programming on your site?Questions about Java & JavaScript programming on your site? Click here.
Keep informed via e-mail about Java & JavaScript programmingQuestions about Java & JavaScript programming via E-mail. Click here.

Java programming question for assignment

Posted on: 2018-06-03 16:45:59]

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.
This question doesn't have an answer.

Other guestions related to Java programming question for assignment:

How to write first fit algorithm in java with .txt
      [Asked in Java & JavaScript programming]
2019-02-11 05:53:24
Java programming question for an assignment
      [Asked in Java & JavaScript programming]
2018-06-03 16:28:54
I want to know how I can get rid of a bad spirit
      [Asked in Paranormal]
2018-05-24 09:19:14
What color best suits the house?
      [Asked in Interior design]
2018-05-20 10:29:27
How do i do a factorial calculator in Java
      [Asked in Java & JavaScript programming]
2018-02-26 12:37:59

Inform a friend about this question.
Your name:
Your e-mail:
Friend's name:
Friend's e-mail:
+ insert more friends

Disclaimer | Sitemap | Archive | Links | last 100 questions | Popular archive

Top 3 Advisors

  • Toon Hasselman

  • 9.8
  • Sanjeev Kumar
  • Totals:

    Questions:  1860
    Administrators:  55


    Already answered:  17 %
    Response time:  940 hours
    Rating:  7.5
Your advertisement here?

Concept & Web design Webshop+