如何添加到List<?扩展数字>数据结构?
List<? extends Number> foo3 = new ArrayList<Integer>();
The method add(capture#1-of ? extends Number) in the type List<capture#1-of ?extends Number> is not applicable for the arguments (ExtendsNumber)
波斯汪
森栏
繁花如伊
随时随地看视频慕课网APP
相关分类