移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

What happens when thread X executes a wait() method on object A, without owning object A’s lock?()  

发布日期:2021-05-16

What happens when thread X executes a wait() metho...
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.

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!