function to reverse words of string in java code example Example: Java how to reverse a string Don't use Java, use C#