Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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[1001Step 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