結果 : write a java program to reverse a string without using built in functions