結果 : reverse a string in java using library function