Question: Below are the parameters required to solve the equation. any help would be great. * EXERCISE ONE If Write a method and call it to

 Below are the parameters required to solve the equation. any help
Below are the parameters required to solve the equation. any help would be great.

* EXERCISE ONE If Write a method and call it to f ind the longest word in inputstring. II Complete findlongestword() 1 usage t github-dassroom(boi). public statie String findlongestllord(String inputString)f II First convert the inputstring String variable to an array of words II Loop through the words and f ind the longest word If Store the longest word in a variable II Return the longest word stored in that variable II HINT: If the multiple words have the sane length return the first long. String =="; 11 Write your code below return longesthord; I 4 uages 4 githb-dasiroontbon publie static vola exerefseone (string inputstring) 5ystes,out,printin("Exercise 1"): 11 Mow we call findtongestword inside the method exercisedne. string Longestiord = findtongesthord(inputstring); Systee.out, peintun("the Longest word is: " + Longestword)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!