Question: In java This was not covered in the site's solutions book 17. Phone Book ArrayList Write a class named PhoneBookEntry that has fields for a
In java
This was not covered in the site's solutions book
17. Phone Book ArrayList Write a class named PhoneBookEntry that has fields for a persons name and phone number. The class should have a constructor and appropriate accessor and mutator methods. Then write a program that creates at least five PhoneBookEntry objects and stores them in an ArrayList. Use a loop to display the contents of each object in the ArrayList.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
