Question: AP CS A JAVA: Using the following interface create a program that will read in a list of names and phone numbers from a file.
AP CS A JAVA:
Using the following interface create a program that will read in a list of names and phone numbers from a file. The program should then be able to look up a name and print out the corresponding phone number or look up a phone number and print out the corresponding name.

public interface PhoneBook { public void Readinfo(); public String Find Number(String name); public String FindName(String phonenumber); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
