单项选择题
当Semaphore 的许可数量为0时,调用acquire 方法会怎么样?()
A.当前线程阻塞,直到有许可可用
B.返回false
C.抛出InterruptedException
D.抛出IllegalMonitorStateException
点击查看答案&解析
相关考题
