Question: You will be building an ArrayList to represent a phone book. (1) Complete the following two files PhoneBookEntryjava -Class definition PhoneBook java- Contains main method






You will be building an ArrayList to represent a phone book. (1) Complete the following two files PhoneBookEntryjava -Class definition PhoneBook java- Contains main method (2) Complete the PhoneBookEntry class per the following specifications Private fields o String name String phoneNumber Constructor with name and phoneNumber as parameters (in that order) Public member methods o getName0-Accessor o getPhoneNumberO-Accessor o setPhoneNumber(String number) -Mutator Ex of printphoneBbookEntry output Name: Roxanne Hughes Phone number:443-555-2864 (3) Complete the PhoneBook class per the following specifications: Private field o ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
