Computers and Technology, 05.12.2019 21:31 eshaesmot12345
Write a static method, getbigwords, that gets a single string parameter and returns an array whose elements are the words in the parameter that contain more than 5 letters. (a word is defined as a contiguous sequence of letters.)example: so, if the string argument passed to the method was "there are 87,000,000 people in canada", getbigwords would return an array of two elements, "people" and "canada".another example: if the string argument passed to the method was "send the request to support@turingscraft. com", getbigwords would return an array of three elements, "request", "support" and "turingscraft".i have tried this question numerous times and have tried to apply solutions recomended on chegg, all of which are giving errors. i'm currently using this code; public static string[] getbigwords(string userstring){ string allwords[] = userstring. split("[@,\\s\\.\\? \\! ]"); string strings[] = new string[allwords. length]; int count = 0; for(int i = 0; i < allwords. length; i++){ if(allwords[i].length() > 5){ if(allwords[i].matches("a-za-z]+")) { strings[count] = allwords[i]; count++; } } } string result[] = new string[count]; for(int i = 0; i < count; i++) result[i] = strings[i]; return result; }when i submit the code into my programming lab, i get the following errors; more hints: β we think you might want to consider using: +=problems detected: β word 'extremely' not returned in result β word 'location' not returned in result β word 'powerful' not returned in result β word 'charge' not returned in result β word 'devoted' not returned in result β word 'elephants' not returned in result β word 'extremely' not returned in result β word 'location' not returned in result β word 'magnitude' not returned in result β word 'numeric' not returned in result β word 'personality' not returned in result β result array length (0) is wrongi've been trying to find a solution to this problem for hours and i'm completely stuck. what am i doing wrong?
Answers: 3
Computers and Technology, 23.06.2019 09:00
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
Computers and Technology, 24.06.2019 03:00
Will do anything for brainlest so can you guys me out i will try my best to you out
Answers: 1
Write a static method, getbigwords, that gets a single string parameter and returns an array whose e...
Mathematics, 29.08.2019 23:00
English, 29.08.2019 23:00
History, 29.08.2019 23:00
Social Studies, 29.08.2019 23:00
Health, 29.08.2019 23:00
Mathematics, 29.08.2019 23:00
History, 29.08.2019 23:00
Geography, 29.08.2019 23:00
History, 29.08.2019 23:00
Mathematics, 29.08.2019 23:00
Spanish, 29.08.2019 23:00