搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

Given:  foo and bar are public references available to many other threads, foo refers to a Thread and bar is an Object. The thread foo is currently executing bar.wait().  From another thread, what provides the most reliable way to ensure that foo will stop executing wait()?()

A、foo.notify();

B、bar.notify();

C、foo.notifyAll();

D、Thread.notify();

E、bar.notifyAll();

F、Object.notify();

更多“Given:  foo and bar are public references available to many other threads, foo refers to a Thread and bar is an Object. The thread foo is currently executing bar.wait().  From another thread, what provides the most reliable way to ensure that foo will stop executing wait()?()”相关的问题
第3题

A、immediately after receiving the first packet on the shared tree for a given (S,G)  B、after receiving over 1 kb/s traffic onthe shared tree for a given (S,G)  C、10 seconds after receiving the first packet on the shared tree for a given (S,G)  D、30 seconds after receiving the first packet on the shared tree for a given (S,G)  E、after receiving over 10 kb/s traffic onthe shared tree for a given (S,G)  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服