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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started