結果 : write program to reverse a string in java