結果 : write a java program to reverse a string without using the reverse method of java's string class