I'm really new to java and just learning. I'm doing a java assignment and I don't quite understand; I am supposed to create a method that will take in a String array and return a randomly selected Sting from that array. here are the exact instructions: *getRandomWord --> consumes an array of Strings and selects (returns) one of the words at random.
signature: String getRandomWord (String [] array)
*
Then I think I have to create another method. I doubt an you have two methods named the same thing but the instructions say:*getRandomWord --> consumes an array of Strings and an integer (len). This method selects a word from the array whose length is more than len. If the length of the word selected is less than len, then this method selects another word at random. This is repeated 500 times until a word is found/returned or no word is found in which case this method will return null.
signature: String getRandomWord (String [] array, int len)
* As I said I'm really new so help is appreciated.