結果 : how to assign user input to a variable in java