Scenario:
Introduction
Your task is to produce a Java simulation of a facility offered by a personal organizer. The personal organizer provides the facility for creating a list of contacts. Entries in this list consist of the name of a person or organization, their telephone number, postal address and e-mail address. The organizer provides the facilities shown below for maintaining and using the list of contacts. Your implementation should provide all the facilities described below. You may use your own creativity in creating the interface of the personal organizer.
Personal Organizer Facilities
Adding new entry
•A new entry may be added to the contacts’ list in the next vacant location.
•A new entry may be added to a specified location in the list where the location is specified by an integer value. How to resolve the problem of the specified location already being occupied is up to you.
Retrieving a contact’s details
•Given an integer value that specifies a location in the list, the details of the entry at that location in the list can be retrieved and displayed.
•Providing a name will retrieve and display the details associated with that name.
Modifying entries
•The phone number or e-mail address number associated with a particular name in the list may be changed.
•A particular entry may be removed from the list.
2006-09-08
03:58:01
·
16 answers
·
asked by
Parves Hossain
1