Pregunta de entrevista de IBM

Write a Java Code to reverse the words in a String,