Create a basic Address Book application that allows users to add, view, and search for contacts. You will implement the following features: Contact Class: Create a Contact class with attributes such as name, phone number, and email address. Include methods to set and get these attributes. Address Book Class: Create an Address Book class that will manage a list of contacts. Implement methods to add a contact, view all contacts, and search for a contact by name. Menu-Driven Interface: Create a menu-driven interface that allows users to interact with the address book. Users should have options to 1. Add a new contact. 2. View all contacts. 3. Search for a contact by name. 4. Exit the program. Note: Implement Classes, Objects Constructor, Inheritance, Interface
Opened this issue · 0 comments
GowshikaRS commented
Create a basic Address Book application that allows users to add, view, and search for contacts. You will implement the following features:
Contact Class: Create a Contact class with attributes such as name, phone number, and email address. Include methods to set and get these attributes.
Address Book Class: Create an Address Book class that will manage a list of contacts. Implement methods to add a contact, view all contacts, and search for a contact by name.
Menu-Driven Interface: Create a menu-driven interface that allows users to interact with the address book. Users should have options to
1. Add a new contact.
2. View all contacts.
3. Search for a contact by name.
4. Exit the program.
Note:
Implement Classes, Objects Constructor, Inheritance, Interface