试题详情
- 单项选择题What happens when thread X executes a wait() method on object A, without owning object A’s lock?()
A、 Compilation fails.
B、 An exception is thrown.
C、 The wait() method has no effect.
D、 Thread X receives the lock immediately.
E、 Object A moves the thread to the wait pool.
- B
关注下方微信公众号,在线模考后查看
热门试题
- 1. public&ensp
- Which statement
- class ClassA&e
- class Flow&ens
- 11. static&ens
- 在try的括号里面有return一个值,
- 采用折半查找的算法,在数组中查询到某个数
- 现有: cla
- 定义10个长度的Student数组,将1
- You are a
- 从键盘上输入10个整数,并将其放入一个一
- Given an
- What is th
- 建立一个银行账户类,要求能够存放用户的账
- In a JSP-
- 求四位奇数中,所有各位数字之和是25的倍
- int index&ensp
- What creates&en
- If…else结构控制当条件满足和不满足
- What is th