除sleep()方法外,Thread类中的另一个方法( )可以给其他同优先级线程一个运行的机会。
A.yield()
B.start ()
C.isAlive()
D.run()
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/436822.html
上一篇:形成假说的常规步骤有
下一篇:Translate the following underlined sentences into Chinese.Write your translation on the Answer Sheet.These days computer technology allows us to have a conversation with various pieces of equipment, for example a washing machine, With satellit