結果 : reverse a string in java using inbuilt function