网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
GiventhatTriangleimplementsRunnable,and:Whichtwostatements,insertedindependentlyatbothlines35and41,tendtoallowboththreadstotemporarilypauseandallowtheotherthreadtoexecute?()

A.Thread.wait();

B.Thread.join();

C.Thread.yield();

D.Thread.sleep(1);

E.Thread.notify();


参考答案

更多 “ GiventhatTriangleimplementsRunnable,and:Whichtwostatements,insertedindependentlyatbothlines35and41,tendtoallowboththreadstotemporarilypauseandallowtheotherthreadtoexecute?() A.Thread.wait();B.Thread.join();C.Thread.yield();D.Thread.sleep(1);E.Thread.notify(); ” 相关考题