188 
5e4de3d452b67.jpg
What three changes allow the class to be used with generics and avoid an unchecked warning? (Choose three.)  
 1. Remove line 14. 
 2. Replace line 14 with "int i = iter.next();". 
 3. Replace line 13 with "for(int i : intList){". 
 4. Replace line 13 with "for(Iterator iter : intList){".  
 5. Replace the method declaration with "sum(List<int> intList)". 
 6. Replace the method declaration with "sum(List<Integer> intList)".
(A) 123
(B) 246
(C) 136
(D) 456

答案:登入後查看
統計: A(0), B(2), C(10), D(1), E(0) #2195020