A.Line 5
B.Line 6
C.Line 7
D.Line 8
E.Line 9
F.Line 10
第1题:
A.Line4ofclassTargetcanbechangedtoreturni++;
B.Line2ofclassTargetcanbechangedtoprivateinti=1;
C.Line3ofclassTargetcanbechangedtoprivateintaddOne(){
D.Line2ofclassTargetcanbechangedtoprivateIntegeri=0;
第2题:
A.Line92willnotexecute.
B.Theconnectionwillnotberetrievedinline85.
C.Theresourceconnectionwillnotbeclosedonline88.
D.Theenclosingmethodwillthrowanexceptiontoitscaller.
第3题:
第4题:
A.Point p = Line.getPoint();
B.Line.Point p = Line.getPoint();
C.Point p = (new Line()).getPoint();
D.Line.Point p = (new Line()).getPoint();
第5题:
A.Line35willnotcompile.
B.Line36willnotcompile.
C.Line37willnotcompile.
D.Line38willnotcompile.