Question: Please use java programming and answer it accordingly to the question Write an AddressBook class that manages a collection of Person objects. An AddressBook will
Write an AddressBook class that manages a collection of Person objects. An AddressBook will allow a person to add, delete, or search for a Person object in the address book. The add method should add a person object to the address book. Make sure that the add method does not add duplicate person objects to the address book. . The delete method should remove the specified person object from the address book. . The search method that searches the address book for a specified person and returns the list of persons matching the specified criteria. The search can be done either by first name, last name, or person id. Write an AddressBookTester class to test your class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
