How to write application that uses an Array to store 10 messages of type String

SoccerBoss
Category:
Programming
Price: $5 USD

Question description

  1. Initializing the Array: You must have the user enter the messages. Your Java code will contain a method called shoutOutCannedMessage() that will loop through the Array to iterate through your entire list and display each message and allow the user to select one. The shoutOutCannedMessage() will return the selected message String.
I am struggling with how to make my shoutOutCannedMessage array display the user's messages they created.


I wanted the user to create his or her one messages and then display them on the screen. Afterwards, I want them to select their favorite message. However, I am unsuccessful and need help with my code to finish. I need help with my code. Thank you in advance for your assistance!

Here is some screenshots of my full code via Word Document below. 

String Array Screenshots.docx 





Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Rice University
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1831 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors