publicclassenclosingone(2.publicclassinsideone{}3.)4.publicclassinertest(5.publicstaticv

17 查阅

1.publicclassenclosingone(2.publicclassinsideone{}3.)4.publicclassinertest(5.publicstaticvoidmain(string[]args)(6.enclosingoneeo=newenclosingone();7.//insertcodehere8.)9.)Whichstatementatline7constructsaninstanceoftheinnerclass?()

A.InsideOnewei=eo.newInsideOn();

B.Eo.InsideOneei=eo.newInsideOne();

C.InsideOneei=EnclosingOne.newInsideOne();

D.EnclosingOne.InsideOneei=eo.newInsideOne();

参考答案:

参考D

计算机考试