Question: JAVA Telemarketing Phone Number List -- Write a program that has three parallel arrays of String objects. One of the arrays should hold last name,
JAVA
Telemarketing Phone Number List -- Write a program that has three parallel arrays of String objects. One of the arrays should hold last name, one should hold first name, and the other should hold phone numbers.
The program should read contactList.txt and insert the appropriate data from the file into the respective elements of each array.
The program should then ask the user to enter a last name or the first few characters of a last name to search for in the array. The program should display all of the names that match the users input and their corresponding phone numbers. contactlist.txt has this info:
Harrison, Rose, 555-2234
James, Jean, 555-9098
Smith, William, 555-1785
Smith, Brad, 555-9224
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
