List与ArrayList List是接口,ArrayList是用一个数组实现的List类。 一般情况下,建议使用List list = new ArrayList();实现了泛型,应用更广泛。
確定! 回上一頁