結果 : java program to reverse a string by taking input from user