试题详情
- 多项选择题 Given a pre-generics implementation of a method: What three changes allow the class to be used with generics and avoid an unchecked warning?()
A、Remove line 14.
B、Replace line 14 with "int i = iter.next();".
C、Replace line 13 with "for (int i : intList) {".
D、Replace line 13 with "for (Iterator iter : intList) {".
E、Replace the method declaration with "sum(List
intList)".
- A,C,E
关注下方微信公众号,在线模考后查看
热门试题
- You executed&e
- Given: What is
- Which stepQ
- Oracle9i exten
- tablespace poi
- While working&
- 假设用户user1的temp1表分区为P
- TheOracleDatabase11g
- A snapshot&ens
- DRAGDROPClicktheTask
- While creating
- Which statement expl
- Given: What is
- To enable faster inc
- Which three
- Oracle Fusion&
- You have the follow
- You are
- Which two requiremen
- TheCUSTOMERStablehas