SyntaxFix
Write A Post
Hire A Developer
Questions
Know your libraries ;-)
import org.apache.commons.lang.StringUtils; String reverseWords(String sentence) { return StringUtils.reverseDelimited(StringUtils.reverse(sentence), ' '); }