Question: Java Programming: Create a class called Contact that has a firstName, lastName, phone and email. Also create a PhoneBook class that will have an arrayList
Java Programming:

Create a class called Contact that has a firstName, lastName, phone and email. Also create a PhoneBook class that will have an arrayList of contact The PhoneBook class will have the following methods: addContact that takes a Contact object and adds is to the arrayList deleteContact that takes a Contact object and deletes it from the arrayList displayContacts that displays all contacts in the arrayList getSize that returns the number of contacts in the arrayList main method to run and test your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
