标签:java list arraylist instantiate 异常
在使用java.util.List; 的时候,把语句写成了:
List<Integer> arr = new List<Integer>();
导致错误:
Cannot instantiate the type List<Integer>
正确写法是:
List<Integer> arr = new ArrayList<Integer>();
Cannot instantiate the type List<Integer>,布布扣,bubuko.com
Cannot instantiate the type List<Integer>
标签:java list arraylist instantiate 异常
原文地址:http://blog.csdn.net/testcs_dn/article/details/38459211