Question: need this writtin in java using the collections library the question had no sample input unfortunately A PhoneDirectory holds a list of names and associated

need this writtin in java using the collections library the question hadneed this writtin in java using the collections library

the question had no sample input unfortunately

A PhoneDirectory holds a list of names and associated phone numbers. Write a phone directory Phone Directory class that keeps its list of names and phone numbers. The class should contain methods for Look up the phone number of a particular name, adding, deleting , and updating entries in the directory. Write a test program that creates a Phone Directory object and displayed the following menu of options: 1. Look up a phone number 2. Add an entry to the directory 3. Delete an entry from the directory 4. Change someone's phone number 5. Exit from this program The user is asked to select one of the options by typing in its number, then the program should properly process the user's request by calling the proper method of Phone Directory

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!