Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 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. Please show where you used the three differenent classes and PLEASE INCLUDE COMMENTS

Step by Step Solution

3.54 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

3 Classes Entry class public class Entry private String name private String address private String phoneNumber public EntryString n String a String p ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Document Format ( 2 attachments)

PDF file Icon
635e0d07ea923_181026.pdf

180 KBs PDF File

Word file Icon
635e0d07ea923_181026.docx

120 KBs Word File

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Organizations Behavior, Structure, Processes

Authors: Gibson, Ivancevich, Donnelly, Konopaske

14th Edition

978-0-07-81126, 9780077470289, 78112664, 0-07-811266-4, 77470281, 978-0078112669

More Books

Students also viewed these Computer Network questions

Question

At what rate of interest will $1387 earn $63.84 in 200 days?

Answered: 1 week ago