Need java code for below problem.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anilreddypalla
    New Member
    • May 2008
    • 2

    Need java code for below problem.

    PROBLEM

    use Java to write and debug a small application that provide support for managing waiting lists.A waiting list consists of a NAME and an ordered list of PERSONS. Information about each person includes a unique ID,their NAME,their PHONE NO.There can be multiple waiting lists and a person may be on more than one list.Among the operations we support are:

    * Create a "PERSON" (assigning them a unique ID and retaining their personal information)
    * Modify their personal information(but not their unique ID - that is immutable)
    * Add a person to the end of a waiting list.
    * Remove the person from front of a waiting list (use data structure)

    NOTES:

    * We retain "one copy" of personal information - no matter how many waiting list a person is on. We never remove a person.

    * For this assignment:

    1. Unique IDs are 5 digits, starting at 10000
    2. Personal information consists of the unique ID, NAME and PHONE NO.(it should be easy to add additional attributes into the design)
    3. Support only the operations above.
    4. Implement a public methods display( ) in some class that returns a simple string consisting of multiple lines(each line containing the UNIQUE ID and NAME of a person) of the persons on a waiting list( in order from front to end).
    5. You must have at least two MEANINGFUL classes in your design.
  • Laharl
    Recognized Expert Contributor
    • Sep 2007
    • 849

    #2
    We won't do your homework for you. We will, however, answer specific questions about code you've already written.

    Comment

    • anilreddypalla
      New Member
      • May 2008
      • 2

      #3
      im naive to java pgming........a tleast can u jst tell me how to start.i mean the procedure

      Comment

      • BigDaddyLH
        Recognized Expert Top Contributor
        • Dec 2007
        • 1216

        #4
        Originally posted by anilreddypalla
        im naive to java pgming........a tleast can u jst tell me how to start.i mean the procedure
        Post you best attempt at this code and ask a specific question about it. That is how I would start.

        Comment

        Working...