Question: Write a Java application to create and maintain a phone book Users should be able to add a new contact, delete an existing contact, update

Write a Java application to create and maintain a phone book Users should be able to add a new contact, delete an existing contact, update the phone number of an existing contact, or enter a name to find the phone number of an existing contact. Once a contact is entered, the name cannot be changed. Display appropriate messages when a user successfully adds, updates, or deletes a contact. If a requested contact successfully is found in the phone book list, display the name and phone number in the Name and Phone number text boxes, respectively. Display appropriate error messages when any action fails. For Java 5.0, use typesafe ArrayLists and static imports, where appropriate. Hint: Use two ArrayLists, one for names and one for phone numbers. For an additional challenge, add the capability to update the name of an entry without deleting the entry first.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!