Write an application that uses an Array to store 10 messages of type String. You can load this data structure with 10 messages of your choosing. For example a message could be â€œI love Java the programming language!â€ or another message could be â€œI love Java the drink!â€ You can initialize your Array with the messages or have the user enter the messages. The choice is yours. Once your Array is loaded with 10 messages, use a loop to iterate through your entire list and display each message. 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.
Submit your .class and .java files as one zipped folder.
For additional details, please refer to the Milestone Guidelines