Question: 2. write a java program in java such that a user can implement the following functions ArrayList phoneNumbers to store the phone numbers of your
2. write a java program in java such that a user can implement the following functions ArrayList<> phoneNumbers to store the phone numbers of your friends. Implement the following features: Note: (user should able to perform all the functions in the output screen given below) a. Search a number b. Add a new number c. Delete a phone number d. Print the numbers e. Replace a phone number with a new one. f. Sort the numbers. [Hint: use Integer or String to store the phone]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
