标签:使用 java ar art div sp amp on c
在使用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>
标签:使用 java ar art div sp amp on c
原文地址:http://www.cnblogs.com/mfrbuaa/p/3952198.html