未分类题

GiventhatThingisaclass,howmanyobjectsandreferencevariablesarecreatedbythefollowingcode?()Thingitem,stuff;item=newThing();Thingentity=newThing();

A.Oneobjectiscreated
B.Twoobjectsarecreated
C.Threeobjectsarecreated
D.Onereferencevariableiscreated
E.Tworeferencevariablesarecreated
F.Threereferencevariablesarecreated.

【参考答案】

B, F
热门 试题