結果 : java code to take string input from user