Java (basic intro level-so I can understand the code) Create a Java Method shoutOutCannedMessage() w

Stuck with a difficult assignment? No time to get your paper done? Feeling confused? If you’re looking for reliable and timely help for assignments, you’ve come to the right place. We promise 100% original, plagiarism-free papers custom-written for you. Yes, we write every assignment from scratch and it’s solely custom-made for you.


Order a Similar Paper Order a Different Paper

Java (basic intro level-so I can understand the code)

 

Create a Java Method shoutOutCannedMessage() will return type String.

 

The shoutOutCannedMessage will use an Array or an ArrayList to store 10 messages of type String.

Load this data structure with 10 messages of your choosing.

 

You can initialize your Array or ArrayList with the messages “readysetgo”.

The shoutOutCannedMessage() will loop through the data structure to first display all canned messages and allow the user to select one.

 

The shoutOutCannedMessage() will return the selected message String.

The shoutOutRandomMessage() method will return type String.

The shoutOutRandomMessage() will use several Arrays or an ArrayList to store words.

 

One data structure that holds a list of words that are subjects, another data structure that holds a list of words that are objects, another that holds a list of verbs, another that holds a list of adverbs, and another that holds a list of adjectives.

You can initialize your data structures with words.

 

The shoutOutRandomMessage() method will use a random number generator that selects one word from each data structure to form a random message.

 

The shoutOutRandomMessage() method will return the random message as a String data type.

Random messages will be of the form: Subject – Verb – Adjective – Object – Adverb.

 

Please document the code for the, shoutOutRandomMessage() method to explain the code for understanding and provide output…

thanks,

Comments


    • Posted: 4 years ago
    • Due: 19/11/2015
    • Budget: $10
    Writerbay.net

    We’ve proficient writers who can handle both short and long papers, be they academic or non-academic papers, on topics ranging from soup to nuts (both literally and as the saying goes, if you know what we mean). We know how much you care about your grades and academic success. That's why we ensure the highest quality for your assignment. We're ready to help you even in the most critical situation. We're the perfect solution for all your writing needs.

    Get a 15% discount on your order using the following coupon code SAVE15


    Order a Similar Paper Order a Different Paper