Add to favorites
Nederlandse versie: Consejeros Gratis adviseurs Usa version: Advisors 4 Free Version franaise: Conseils Gratuits Versione italiana: Belgische versie: Versin espaola : Consejeros Gratis Deutsche Version: Gratis Beraten
Current location:Home » Computers » CAD
Advertise on this site?

Ask a Question?

Ask a question about CAD online. You'll receive an answer of a CAD Specialist.

Do you have a question over the topic CAD? Click here. More questions about CAD.

Current Administrator for the topic CAD:
Name: Taniska
Business name: علی فرساد
Reaction time: hours
Rating: 0.0 (max. 10)
More informatins on Taniska can be found in his profile page.

Become advisor?

RSS about CADQuestions about CAD via RSS. Click here.
RSS about CAD on your site?Questions about CAD on your site? Click here.
Keep informed via e-mail about CADQuestions about CAD via E-mail. Click here.

Java programming question for assignment

Posted on: 2018-06-03 16:39:04]

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 ith 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 can you find the length of an array recursivly
      [Asked in Java & JavaScript programming]
2020-04-13 17:46:14
Am I schizophrenic??did I trigger myself into it
      [Asked in Mental Health]
2020-02-12 11:02:27
Antique Indian sword cane with lion's head.
      [Asked in Antiques]
2019-12-21 15:35:59
Symbols suddenly showing up
      [Asked in Paranormal]
2019-08-04 01:17:56
How to write first fit algorithm in java with .txt
      [Asked in Java & JavaScript programming]
2019-02-11 05:53:24

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+