Question: In Java, Create a phone book where you can enter names and corresponding phone numbers. Store the data in two parallel arrays. Create a lookup
In Java, Create a phone book where you can enter names and corresponding phone numbers. Store the data in two parallel arrays. Create a lookup method that asks the user to input a name. Look up a name and then retrieve the associated phone number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
