A.湿式系统
B.重复启闭预作用系统
C.干式系统
D.预作用系统
第1题
A.Thesetvariablecontainsallsixelementsfromthecollcollection,andtheorderisguaranteedtobepreserved.
B.Thesetvariablecontainsonlythreeelementsfromthecollcollection,andtheorderisguaranteedtobepreserved.
C.Thesetvariablecontainsallsixelementsfromthecoilcollection,buttheorderisNOTguaranteedtobepreserved.
D.Thesetvariablecontainsonlythreeelementsfromthecoilcollection,buttheorderisNOTguaranteedtobepreserved.
第2题
A.0
B.1
C.2
D.3
E.4
F.Compilationfails.
G.Anexceptionisthrownatruntime.
第3题
A.apple:apple
B.carrot:apple
C.apple:banana
D.banana:apple
E.carrot:carrot
F.carrot:banana
第4题
A.Setset=newTreeSet();
B.Setset=newHashSet();
C.Setset=newSortedSet();
D.Listset=newSortedList();
E.Setset=newLinkedHashSet();
第5题
A.Catis-aAnimal
B.Catis-aJumper
C.Dogis-aAnimal
D.Dogis-aJumper
E.Cathas-aAnimal
F.Beaglehas-aTail
G.Beaglehas-aJumper
第6题
A.Inheritancerepresentsanis-arelationship.
B.Inheritancerepresentsahas-arelationship.
C.Interfacesmustbeusedwhencreatingahas-arelationship.
D.Instancevariablescanbeusedwhencreatingahas-arelationship.
第7题
A.Has-arelationshipsshouldneverbeencapsulated.
B.Has-arelationshipsshouldbeimplementedusinginheritance.
C.Has-arelationshipscanbeimplementedusinginstancevariables.
D.Is-arelationshipscanbeimplementedusingtheextendskeyword.
E.Is-arelationshipscanbeimplementedusingtheimplementskeyword.
F.Anarrayoracollectioncanbeusedtoimplementaone-to-manyhas-arelationship.
G.TherelationshipbetweenMovieandActressisanexampleofanis-arelationship.
第8题
A.Thiscodewillcompile.
B.Thiscodedemonstratesproperdesignofanis-arelationship.
C.Thiscodedemonstratesproperdesignofahas-arelationship.
D.AJavaprogrammerusingtheTeamclasscouldremovePlayerobjectsfromaTeamobject.
第9题
A.124
B.Thecoderunswithnooutput.
C.Anexceptionisthrownatruntime.
D.Compilationfailsbecauseofanerrorinline21.
E.Compilationfailsbecauseofanerrorinline22.
F.Compilationfailsbecauseofanerrorinline31.
第10题
A.Value:3
B.Value:8
C.Value:13
D.Compilationfails.
E.Thecoderunswithnooutput.
F.Anexceptionisthrownatruntime.
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!