首页 > 公需科目
题目内容 (请给出正确答案)
[单选题]

在Generator函数中,yield*语句的作用是:()。

A.调用另外的Generator函数

B.暂停执行,待next()方法调用后恢复

C.停止执行,退出函数

D.调用任意的其他函数

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“在Generator函数中,yield*语句的作用是:()。”相关的问题
第1题
Generator函数的yield关键字的作用是:()。

A.停止执行

B.退出函数

C.暂停执行,等待next()方法调用

D.停止执行,可自行恢复执行

点击查看答案
第2题
关于新特性Generator函数的描述,错误的是()。

A.Generator函数,又称生成器函数

B.声明Generator函数的关键字是:function*

C.Generator函数执行后得到的一个生成器

D.使用return语句使Generator函数暂停执行,直到next方法的调用

点击查看答案
第3题
在Hibernate中,如果数据库是Oracle,则generator属性值不可以使用()

A.sequence

B.native

C.auto

D.identity

点击查看答案
第4题
HGU是()

A.Home Gateway Utlity

B.Hand Generator Unit

C.Home Gateway Unit

D.Hand Generator Utility

点击查看答案
第5题
Propulsion engines and the vast majority of auxiliary generator engines are designed to al
low a generous through-flow of scavenge air in order to control ____.

A.the lubricating oil consumption

B.the turbine blade temperature

C.the flow rate of fuel

D.scavenge air pressure

点击查看答案
第6题
What are the essential services the emergency generator must be rated to provide power
for()?

A. emergency lighting for occupied areas,navigation lights

B. the driving motors of the emergency bilge pump,fire pumps,and steering gear

C. communications systems and alarm systems

D. all of the above

点击查看答案
第7题
下面关于yield方法描述正确的是()。

A.yield方法是用于线程同步

B.yield方法是用于台并线程

C.yield方法是用于启动线程

D.yield方法是用于线程让步

点击查看答案
第8题
线程间通讯的方法有哪些?()

A.yield

B.join

C.wait

D.notify

点击查看答案
第9题
yield()

A.产量;屈服,投降

B.部分

C.堆叠,堆放

D.健忘症

点击查看答案
第10题
以下哪些种类的扣留物料需要mentor批准才可放行()

A.CrossID

B.low yield

C.100% yield

D.SBL超标

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改