问题:
Given that Triangle implements Runnable, and:
Which two statements, inserted independently at both lines 35 and 41, tend to allow both threads to temporarily 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 that Triangle implements Runnable, and:
Which two statements, inserted independently at both lines 35 and 41, tend to allow both threads to temporarily pause and allow the other thread to execute?()
● 参考解析
本题暂无解析
相关内容
相关标签