Iter through the word array and create a new text string containing the words added in reverse order java code example
Example: string reverse in java
String str = "Hello";
String reverse(String str){
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.reverse();
return sb.toString();
}