IBM Interview Question

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