black

OCJP(310-065)

登录

多项选择题

Given that Triangle implements Runnable, and:

Which two statements, inserted independently at both lines 35 and 41, tend to allow both threads totemporarily pause and allow the other thread to execute?()

A.Thread.wait();
B.Thread.join();
C.Thread.yield();
D.Thread.sleep(1);
E.Thread.notify();

相关考题

多项选择题 Given: Which three changes should be made to adapt this class to be used safely by multiple threads?()

单项选择题 Given: What is the result?()

单项选择题 Given: What is the result?()

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064