Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How will you program using Java? Computer: x E My classroom.google.com/c/MTQ50TYxNDgxODRa Untitied documentM ntenships Northe Phone List-Lab (Working with ArrayLists) Write a program that allows

How will you program using Java?

image text in transcribed

image text in transcribed

Computer: x E My classroom.google.com/c/MTQ50TYxNDgxODRa Untitied documentM ntenships Northe Phone List-Lab (Working with ArrayLists) Write a program that allows a user to enter contact information into a phone list. The contact information includes a person's name and phone number. The phone list should be implamented using an array list. You must use the Contact class provided below in your implementation After entering a contact the program should prompt the user to continue or quit. iH the user choices to continue the program should allow the user to enter in another contact If the user chooses to quit the program should display the phone ist. Refer to the sample run below. Source Code das Contact private String name private String phone public Contact String n, String p) name n phone p public String getName) retum name public String getPhone) return phone None Sample Run nter name-John Wayne ter phone number >382-4328 ontinue or NI? y AP Computer My American : X 28 Inspiring B 8th Period Jur American HerX os//classroom.google.com/c/MTQ5OTYXNDgxODRa E Untitled document Internships-Northro Resources None Sample Run nter name->John Wayne Enter phone number->382-4328 ontinue [Y or N)? y Enter name->Jimmy Stewart Enter phone number->565-1122 Continue [Y or N)? y Enter nameMarilyn Monroe Enter phone number->387-9999 (YorNJ? nter name ->Henry Fonda Enter phone number->394-5434 ontinue [Y or NJ? n Contact List ohn Wayne 382-4328 immy Stewart 565-1122 Marilyn Monroe 387-9999 Henry Fonda 394-5434

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

Step: 3

blur-text-image

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

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 2 Lncs 13427

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124251, 978-3031124259

More Books

Students also viewed these Databases questions