Question: Write a Java menu-driven program that creates and manipulates a directory of names, telephone numbers, and home addresses. The following information will be stored for

Write a Java menu-driven program that creates and manipulates a directory of names, telephone numbers, and home addresses. The following information will be stored for each person in the directory:

- Name (Last, First)

- Home address (street address, city, state, zip code)

- Home telephone number

Your program should use an Array data structure to store the directory entries and should be able to perform the following basic functions. The directory should remain an sorted after each of the operations below:

- Display the entire directory in sorted order by key value (combination of last and first names)

- Search and display the contents of a particular entry

- Delete an existing entry

- Insert an entry

You must use three classes: entry class, directory class, and a driver. The program used is BlueJ

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!