[Solved] How to print the mirror of String in java without effecting the words? [closed]

[ad_1]

String str = "Ram Is A Good Boy";
String [] strArray = str.split(" ");
StringBuilder sb = new StringBuilder();
for(int i=strArray.length-1;i>-1;i--)
{
    sb.append(strArray[i]+" ");
}
System.out.println(sb.toString());

[ad_2]

solved How to print the mirror of String in java without effecting the words? [closed]