Write a program that uses an array list of parameter type


Question: Write a program that uses an Array List of parameter type Contact to store a database of contacts. The Contact class should store the contact's first and last name, phone number, and email address. Add appropriate accessor and mutator methods. Your database program should present a menu that allows the user to add a contact, display all contacts, search for a specific contact and display it, or search for a specific contact and give the user the option to delete it. The searches should find any contact where any instance variable contains a target search string. For example, if "elmore" is the search target, then any contact where the first name, last name, phone number, or email address contains "elmore" should be returned for display or deletion. Use the "for-each" loop to iterate through the Array List.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write a program that uses an array list of parameter type
Reference No:- TGS02404887

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)