Using classes, design an address book. Each contact in the

Using classes, design an address book. Each contact in the address book must be able to store the following information:

  • Full Name
  • Address
  • Birth Date
  • Phone Number

To do so, you are going to create two classes. The first class, called Contact, will store information for 1 contact. This class should have attributes that can store information for the data mentioned above, as well as a means of accessing/modifying attribute data (i.e., getters and setters).

Next, you are going to create another class called Contact Directory, which will store a collection of Contact objects via an array or vector(your choice). This class should support the following operations:

  • Add a New Contact
  • Search the Directory by Name (return the contact object back to where its called).
  • Display All Contacts (Only display Contact Names).

Once you are finished designing the class, create a Contact Directory object and add the following people to the directory:

  • Brad Pitt
  • Sally Fields
  • Marilyn Monroe
  • Timothee Chalamet
  • Evan Peters

Note that you may be creative with the rest of the information(address, age, phone number). Call the appropriate operator to output the Contact Directory.

Compress your solution to a ZIP folder and upload it as your answer to your question. Be sure to include a header comment above each file your create stating your name and description of the contents of the file(like you do in the programming assignments).

 

Stressed over that homework?

Essay deadline breathing down your neck?

Let’s cut to the chase: Why struggle when you can ace it with zero hassle?

Whether it’s essays, research papers, or assignments — we’ve got you covered.

✅ Expert writers
✅ 100% original work
✅ No AI tools, just real pros

Stressed about your essay or homework? Get a top-quality custom essay NOW!!! Stop worrying. Start succeeding.

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2020 -2025 GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top