Visit www.myprogramminglab.com to complete this Programming Challenge online and get instant feedback.
Phone Book ArrayList
Write a class named PhoneBookEntry that has fields for a person’s 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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here