結果 : reverse a string in java with for loop