結果 : java create arraylist with n elements