結果 : how to add user input to an array in java