This java program prompts the user for a string and returns the string in reverse.