非泛型建立的ArrayList集合物件可以儲存任何型別的值ArrayList list = new ArrayList(); list.add("str");//存入String型別資料list.add(23);//存 ...
確定! 回上一頁