试题详情
- 多项选择题 Which three code fragments, inserted independently at line 6, will compile?()
A、list.add("foo");
B、Object o = list;
C、String s = list.get(0);
D、list = new ArrayList<String>();
E、list = new ArrayList<Object>();
- B,C,D
关注下方微信公众号,在线模考后查看
热门试题