Java: Longest Word in String
AI-enhanced title
String str="";
if([Link]()>[Link]())
str=word;
return str;