重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
找答案首页 > 全部分类 > 建筑工程类考试
搜题
网友您好, 请在下方输入框内输入要搜索的题目:
搜题
题目内容 (请给出正确答案)
[多选题]

采用闭式洒水喷头的自动喷水灭火系统,它可分为()。

A.湿式系统

B.重复启闭预作用系统

C.干式系统

D.预作用系统

查看答案
更多“采用闭式洒水喷头的自动喷水灭火系统,它可分为()。A.湿式系统B.重复启闭预作用系统C.干式系统D.预”相关的问题

第1题

importjava.util.*;2.publicclassTestSet{3.enumExample{ONE,TWO,THREE}4.publicstaticvoidmai
1.importjava.util.*;2.publicclassTestSet{3.enumExample{ONE,TWO,THREE}4.publicstaticvoidmain(String[]args){5.Collectioncoll=newArrayList();6.coll.add(Example.THREE);7.coll.add(Example.THREE);8.coll.add(Example.THREE);9.coll.add(Example.TWO);10.coll.add(Example.TWO);11.coll.add(Example.ONE);12.Setset=newHashSet(coll);13.}14.}Whichstatementistrueaboutthesetvariableonline12?()

A.Thesetvariablecontainsallsixelementsfromthecollcollection,andtheorderisguaranteedtobepreserved.

B.Thesetvariablecontainsonlythreeelementsfromthecollcollection,andtheorderisguaranteedtobepreserved.

C.Thesetvariablecontainsallsixelementsfromthecoilcollection,buttheorderisNOTguaranteedtobepreserved.

D.Thesetvariablecontainsonlythreeelementsfromthecoilcollection,buttheorderisNOTguaranteedtobepreserved.

点击查看答案

第2题

importjava.util.*;publicclassWrappedString{privateStrings;publicWrappedString(Strings){thi
importjava.util.*;publicclassWrappedString{privateStrings;publicWrappedString(Strings){this.s=s;}publicstaticvoidmain(String[]args){HashSeths=newHashSet();WrappedStringws1=newWrappedString(”aardvark”);WrappedStringws2=newWrappedString(”aardvark”);Strings1=newString(”aardvark”);Strings2=newString(”aardvark”);hs.add(ws1);hs.add(ws2);hs.add(s1);hs.add(s2);System.out.println(hs.size());}}Whatistheresult?()

A.0

B.1

C.2

D.3

E.4

F.Compilationfails.

G.Anexceptionisthrownatruntime.

点击查看答案

第3题

importjava.util.*;publicclassPQ{publicstaticvoidmain(String[]args){PriorityQueuepq=newPrio
importjava.util.*;publicclassPQ{publicstaticvoidmain(String[]args){PriorityQueuepq=newPriorityQueue();pq.add(”carrot”);pq.add(”apple”);pq.add(”banana”);System.out.println(pq.poll()+”:”+pq.peek());}}Whatistheresult?()

A.apple:apple

B.carrot:apple

C.apple:banana

D.banana:apple

E.carrot:carrot

F.carrot:banana

点击查看答案

第4题

importjava.util.*;2.publicclassExample{3.publicstaticvoidmain(String[]args){4.//insertco
1.importjava.util.*;2.publicclassExample{3.publicstaticvoidmain(String[]args){4.//insertcodehere5.set.add(newinteger(2));6.set.add(newinteger(l));7.System.out.println(set);8.}9.}Whichcode,insertedatline4,guaranteesthatthisprogramwilloutput[1,2]?()

A.Setset=newTreeSet();

B.Setset=newHashSet();

C.Setset=newSortedSet();

D.Listset=newSortedList();

E.Setset=newLinkedHashSet();

点击查看答案

第5题

interfaceJumper{publicvoidjump();}......20.classAnimal{}......30.classDogextendsAnimal{
10.interfaceJumper{publicvoidjump();}......20.classAnimal{}......30.classDogextendsAnimal{31.Tailtail;32.}......40.classBeagleextendsDogimplementsJumper{41.publicvoidjump(){}42.}.......50.classCatimplementsJumper{51.publicvoidjump(){}52.}Whichthreearetrue?()

A.Catis-aAnimal

B.Catis-aJumper

C.Dogis-aAnimal

D.Dogis-aJumper

E.Cathas-aAnimal

F.Beaglehas-aTail

G.Beaglehas-aJumper

点击查看答案

第6题

Whichtwoaretrueabouthas-aandis-arelationships?()

A.Inheritancerepresentsanis-arelationship.

B.Inheritancerepresentsahas-arelationship.

C.Interfacesmustbeusedwhencreatingahas-arelationship.

D.Instancevariablescanbeusedwhencreatingahas-arelationship.

点击查看答案

第7题

Whichfouraretrue?()

A.Has-arelationshipsshouldneverbeencapsulated.

B.Has-arelationshipsshouldbeimplementedusinginheritance.

C.Has-arelationshipscanbeimplementedusinginstancevariables.

D.Is-arelationshipscanbeimplementedusingtheextendskeyword.

E.Is-arelationshipscanbeimplementedusingtheimplementskeyword.

F.Anarrayoracollectioncanbeusedtoimplementaone-to-manyhas-arelationship.

G.TherelationshipbetweenMovieandActressisanexampleofanis-arelationship.

点击查看答案

第8题

publicclassTeamextendsjava.util.LinkedList{publicvoidaddPlayer(Playerp){add(p);}publicvoidcompete(Teamopponent){/*morecodehere*/}}classPlayer{/*morecodehere*/}Whichtwoaretrue?()

A.Thiscodewillcompile.

B.Thiscodedemonstratesproperdesignofanis-arelationship.

C.Thiscodedemonstratesproperdesignofahas-arelationship.

D.AJavaprogrammerusingtheTeamclasscouldremovePlayerobjectsfromaTeamobject.

点击查看答案

第9题

publicclassSuperCaic{11.protectedstaticintmultiply(inta,intb){returna*b;}12.}and:20.pub
10.publicclassSuperCaic{11.protectedstaticintmultiply(inta,intb){returna*b;}12.}and:20.publicclassSubCalcextendsSuperCalc{21.publicstaticintmultiply(inta,intb){22.intc=super.multiply(a,b);23.returnc;24.}25.}and:30.SubCalcsc=newSubCalc();31.System.out.println(sc.multiply(3,4));32.System.out.println(SubCalc.multiply(2,2));Whatistheresult?()

A.124

B.Thecoderunswithnooutput.

C.Anexceptionisthrownatruntime.

D.Compilationfailsbecauseofanerrorinline21.

E.Compilationfailsbecauseofanerrorinline22.

F.Compilationfailsbecauseofanerrorinline31.

点击查看答案

第10题

publicclassFoo{publicinta;publicFoo(){a=3;}publicvoidaddFive(){a+=5;}}and:publicclassBarex
publicclassFoo{publicinta;publicFoo(){a=3;}publicvoidaddFive(){a+=5;}}and:publicclassBarextendsFoo{publicinta;publicBar(){a=8;}publicvoidaddFive(){this.a+=5;}}invokedwith:Foofoo=newBar();foo.addFive();System.out.println(”Value:+foo.a);Whatistheresult?()

A.Value:3

B.Value:8

C.Value:13

D.Compilationfails.

E.Thecoderunswithnooutput.

F.Anexceptionisthrownatruntime.

点击查看答案
下载上学吧APP
客服
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案
购买前请仔细阅读《购买须知》
请选择支付方式
微信支付
支付宝支付
选择优惠券
优惠券
请选择
点击支付即表示你同意并接受《服务协议》《购买须知》
立即支付
搜题卡使用说明

1. 搜题次数扣减规则:

功能 扣减规则
基础费
(查看答案)
加收费
(AI功能)
文字搜题、查看答案 1/每题 0/每次
语音搜题、查看答案 1/每题 2/每次
单题拍照识别、查看答案 1/每题 2/每次
整页拍照识别、查看答案 1/每题 5/每次

备注:网站、APP、小程序均支持文字搜题、查看答案;语音搜题、单题拍照识别、整页拍照识别仅APP、小程序支持。

2. 使用语音搜索、拍照搜索等AI功能需安装APP(或打开微信小程序)。

3. 搜题卡过期将作废,不支持退款,请在有效期内使用完毕。

请使用微信扫码支付(元)
订单号:
遇到问题请联系在线客服
请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

- 微信扫码关注上学吧 -
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
- 微信扫码关注上学吧 -
请用微信扫码测试
选择优惠券
确认选择
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,如果您知道正确答案,欢迎您来纠错

上学吧找答案