結果 : java store user input in array