Building a Simple Word Reverser in Java

Imagine you want to create a program that reverses each word in a sentence. For example, if you input: