Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions

Question

=+2 Why did OBI create Centers of Excellence?

Answered: 1 week ago