Write a function in JAVA, LongestWord(String input) that willl return Longest word in a string passed to it. Requirements: LongestWord(String input) must be a static functionLongestWord(String input) must be declared and defined inside the class containing void...