Given:
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
出自:Oracle认证
Which three code fragments, inserted independently at line 6, will compile?()