結果 : how to get user input into an array in java