class Solution {
public String reverseWords(String s) {
String words[]=s.split(" ");
StringBuilder res=new StringBuilder();//要加()号
for(String word:words)
res.append(new StringBuffer(word).reverse().toString()+" ");
return res.toString().trim();
}
}class Solution {
public String rever