Question: Write a java program called AddressBook which allows the user to enter names, phone Numbers and email address and saves them into a text file

 Write a java program called AddressBook which allows the user to

Write a java program called AddressBook which allows the user to enter names, phone Numbers and email address and saves them into a text file called addresses.txt. Then have the user enter the last name and have the program read back that person's contact info. Exception handling should be used to display an error message if the program is unable to open the file or the person being searched for does not exist. You may use the code examples on pages 622-623 for a similar example to how your program should be written. For example: Welcome to Address Book! Enter last name, first name, phone number, and email address Enter EOF to end input Doe John 555-123-4567 idoe@gmail.com Sheehan John 845-688-6017 sheehanj@sunyulster.edu EOF Enter last name to search: Doe Record Found: John Doe 555-123-4567

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!