Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will replace the code in the Main() section. Instead of a hard-coded data in the test script, you will create a console Java app

You will replace the code in the Main() section. Instead of a hard-coded data in the test script, you will create a console Java app with a menu that will present the user with a menu of actions. You will have to implement the code to make the following actions work properly.

System.out.println("Main menu. Please select an option");

System.out.println("1 Show list of all contacts");

System.out.println("2 Show list of all personal contacts");

System.out.println("3 Show list of all business contacts");

System.out.println("4 Search for a contact");

System.out.println("5 Display a contact if you give me the contacts id number");

System.out.println(6 Create a new contact");

System.out.println("7 Delete a contact if you give me the contacts id number ");

System.out.println("8 Dial a phone number if you give me the contacts id number ");

System.out.println("9 Send a text if you give me the contacts id number ");

System.out.println("10 Show web page if you give me the contacts id number ");

System.out.println("11 Send an email if you give me the contacts id number ");

System.out.println("12 Show address on map if you give me the id number ");

System.out.println("13 Load all contact data from file"); // not implemented yet

System.out.println("14 Save all contact data to a file"); // not implemented yet

System.out.println("99 Exit");

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions