Question: What happens when the input file is empty, What happens when the user searches for Smth and the entry in the file is for the
What happens when the input file is empty, What happens when the user searches for "Smth" and the entry in the file is for the name "Smith" What happens when the user types the command ' d ' to delete the current entry?
What does method nextLine() return? Write a description of the method index(String Key).




Appendix 1 Program for Part 1 import java.io.*; import java.util.*; class Contact ( public String name, number, note; public class ReddyPB ( public static Contact[l contactlist; public static int num_entries; public static Scanner stdin = new scanner(system.in); public static void main(Stringl] args) throws Exceptionf int i; char C; String code, Command; contact1st = new contact[1001
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
