結果 : storing user input in array java