问题 单项选择题

使当前线程进入阻塞状态,直到被唤醒的方法是( )。

A.resume()方法

B.wait()方法

C.suspend()方法

D.notify()方法

答案

参考答案:B

单项选择题
单项选择题