which is true?
A.If only one thread is blocked in the wait method of an object, and another
thread executes the notify method on that same object,then the first thread
immediately resumes executes.
B. If a thread is blocked in the wait method of an object, and another thread
executes the notify method on the same object,it is still possible that the
first thread might never resume execution
C.If a thread is blocked in the wait method of an object,and another thread
executes the notify method on the same object,then the first thread definitely
resumes execution as a direct and sole consequence of the notify call
D.If two threads are blocked in the wait method of one object,and another thread
executes the notify method on the same object,then the thread that executed
the wait call first definitely resumes execution as a direct and sole consequence
of the notify call
Answer:B 最好能够翻译一下
A.If only one thread is blocked in the wait method of an object, and another
thread executes the notify method on that same object,then the first thread
immediately resumes executes.
B. If a thread is blocked in the wait method of an object, and another thread
executes the notify method on the same object,it is still possible that the
first thread might never resume execution
C.If a thread is blocked in the wait method of an object,and another thread
executes the notify method on the same object,then the first thread definitely
resumes execution as a direct and sole consequence of the notify call
D.If two threads are blocked in the wait method of one object,and another thread
executes the notify method on the same object,then the thread that executed
the wait call first definitely resumes execution as a direct and sole consequence
of the notify call
Answer:B 最好能够翻译一下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货