Question: Write a class named Phone Book Entry that has fields for a person's name and phone number. The class should have a constructor and appropriate
Write a class named Phone Book Entry that has fields for a person's name and phone number. The class should have a constructor and appropriate accessor and matador methods. Then write a program that creates at least five Phone Book Entry objects and stores them in an Array List. Use a loop to display the contents of each object in the Array List
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
